24 lines
394 B
YAML
Executable File
24 lines
394 B
YAML
Executable File
---
|
|
- hosts: all
|
|
gather_facts: False
|
|
tasks:
|
|
- name: Install python for Ansible
|
|
raw: test -e /usr/bin/python || (apt -y update && apt install -y python2.7 python-minimal sudo)
|
|
changed_when: False
|
|
|
|
|
|
- hosts: middleware
|
|
become: True
|
|
roles:
|
|
- geerlingguy.docker
|
|
- traefik
|
|
tags:
|
|
- traefik
|
|
|
|
- hosts: gitea
|
|
become: True
|
|
roles:
|
|
- gitea
|
|
tags:
|
|
- gitea
|