Add hosts to site.yml

This commit is contained in:
Daniel A. Maierhofer
2018-02-09 17:16:33 +01:00
parent 152e25193d
commit 69b61ab6ce

View File

@@ -3,24 +3,33 @@
user: root user: root
become: False become: False
roles: roles:
- common - common
- backup - backup
- hosts: backupclient - hosts: backupclient
user: root user: root
become: False become: False
roles: roles:
- common - common
- backupclient - backupclient
- hosts: ruby - hosts: ruby
become: true become: true
roles: roles:
- common - common
- rvm1-ansible - rvm1-ansible
- hosts: test_common - hosts: test_common
sudo: True sudo: True
- hosts: all
gather_facts: False
tasks:
- name: install python3
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3)
- hosts: ariane
roles: roles:
- common - common
# - rvm1-ansible
- ariane