45 lines
679 B
YAML
45 lines
679 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
|
|
sudo: 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: lxc-pet-01
|
|
roles:
|
|
- USV_monitoring
|