Files
ansible-fet/site.yml
2018-03-05 01:57:41 +01:00

45 lines
665 B
YAML

---
- hosts: backup
user: root
become: False
roles:
- common
- backup
- hosts: backupclient
user: root
become: False
roles:
- common
- backupclient
- hosts: ruby
become: true
roles:
- common
- rvm1-ansible
- hosts: test_common
become: True
- hosts: all
gather_facts: False
tasks:
- name: install python
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python)
- name: install python3
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3)
- hosts: ariane
roles:
- ariane
# - rvm1-ansible
- hosts: fet
roles:
- common
- hosts: betam
roles:
- ups