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
become: False
roles:
- common
- backup
- common
- backup
- hosts: backupclient
user: root
become: False
roles:
- common
- backupclient
- common
- backupclient
- hosts: ruby
become: true
roles:
- common
- rvm1-ansible
- common
- rvm1-ansible
- hosts: test_common
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:
- common
# - rvm1-ansible
- ariane