48 lines
811 B
YAML
48 lines
811 B
YAML
---
|
|
- hosts: all
|
|
gather_facts: False
|
|
tasks:
|
|
- name: install python
|
|
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python) || (xbps-install -S && xbps-install -y python || true)
|
|
changed_when: False
|
|
- name: install python3
|
|
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install -y python || true)
|
|
changed_when: False
|
|
|
|
- hosts: fet_hosts
|
|
roles:
|
|
- common
|
|
|
|
- hosts: fet_containers
|
|
roles:
|
|
- common
|
|
|
|
- hosts: ariane
|
|
roles:
|
|
- ariane
|
|
# - rvm1-ansible
|
|
|
|
- hosts: betam
|
|
roles:
|
|
- ups
|
|
|
|
- hosts: zyklon
|
|
roles:
|
|
- gitea
|
|
|
|
- hosts: backup
|
|
roles:
|
|
- backup
|
|
|
|
- hosts: backupclient
|
|
roles:
|
|
- backupclient
|
|
|
|
- hosts: ruby
|
|
become: True
|
|
roles:
|
|
- rvm1-ansible
|
|
|
|
- hosts: test_common
|
|
become: True
|