Files
ansible-fet/site.yml
2018-09-19 12:09:46 +02:00

66 lines
1.0 KiB
YAML

---
- hosts: all
gather_facts: False
tasks:
- name: install python
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python python-apt) || (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 python3-apt) || (xbps-install -S && xbps-install -y python || true)
changed_when: False
- hosts: fet_hosts
roles:
- common
- hosts: fet_lxc_debian
roles:
- common
- hosts: fet_lxc_void
roles:
- common
- hosts: ariane
roles:
- ariane
# - rvm1-ansible
- hosts: betam
roles:
- ups
- hosts: zyklon
roles:
- gitea
- hosts: sojus
roles:
- borg_server
- hosts: maria-storage
roles:
# - maria-storage
- borg_client
- hosts: baroness
roles:
- borg_client
- hosts: buran
roles:
- borg_client
- hosts: nauka
roles:
- borg_client
- hosts: progress
roles:
- scans
#- hosts: ruby
# become: True
# roles:
# - rvm1-ansible