package, Reorder site.yml
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[defaults]
|
||||
forks=2
|
||||
forks=20
|
||||
[privilege_escalation]
|
||||
ask_pass=True
|
||||
[ssh_connection]
|
||||
|
||||
Submodule roles/common updated: e0e5d97eb7...1db29a04e8
54
site.yml
54
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
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- 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
|
||||
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3)
|
||||
|
||||
- hosts: ariane
|
||||
roles:
|
||||
- common
|
||||
- ariane
|
||||
# - rvm1-ansible
|
||||
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install python)
|
||||
|
||||
- hosts: fet
|
||||
roles:
|
||||
- common
|
||||
|
||||
- hosts: ariane
|
||||
roles:
|
||||
- ariane
|
||||
# - rvm1-ansible
|
||||
|
||||
- hosts: betam
|
||||
roles:
|
||||
- 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