package, Reorder site.yml
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
forks=2
|
forks=20
|
||||||
[privilege_escalation]
|
[privilege_escalation]
|
||||||
ask_pass=True
|
ask_pass=True
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
pipelining=True
|
pipelining=True
|
||||||
|
|||||||
Submodule roles/common updated: e0e5d97eb7...1db29a04e8
58
site.yml
58
site.yml
@@ -1,45 +1,37 @@
|
|||||||
---
|
---
|
||||||
- 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
|
- hosts: all
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
tasks:
|
tasks:
|
||||||
- name: install python
|
- name: install python
|
||||||
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python)
|
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python) || (xbps-install -S && xbps-install python)
|
||||||
- name: install python3
|
- name: install python3
|
||||||
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3)
|
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install python)
|
||||||
|
|
||||||
- hosts: ariane
|
|
||||||
roles:
|
|
||||||
- common
|
|
||||||
- ariane
|
|
||||||
# - rvm1-ansible
|
|
||||||
|
|
||||||
- hosts: fet
|
- hosts: fet
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|
||||||
|
- hosts: ariane
|
||||||
|
roles:
|
||||||
|
- ariane
|
||||||
|
# - rvm1-ansible
|
||||||
|
|
||||||
- hosts: betam
|
- hosts: betam
|
||||||
roles:
|
roles:
|
||||||
- ups
|
- ups
|
||||||
|
|
||||||
|
- hosts: backup
|
||||||
|
roles:
|
||||||
|
- backup
|
||||||
|
|
||||||
|
- hosts: backupclient
|
||||||
|
roles:
|
||||||
|
- backupclient
|
||||||
|
|
||||||
|
- hosts: ruby
|
||||||
|
become: True
|
||||||
|
roles:
|
||||||
|
- rvm1-ansible
|
||||||
|
|
||||||
|
- hosts: test_common
|
||||||
|
become: True
|
||||||
|
|||||||
Reference in New Issue
Block a user