2016-12-08 17:13:04 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: basic setup for all hosts
|
|
|
|
hosts: all
|
|
|
|
remote_user: root
|
|
|
|
roles:
|
2017-09-04 12:52:02 +02:00
|
|
|
- { role: common, tags: ['common'] }
|
2016-12-08 17:13:04 +01:00
|
|
|
- { role: tools, tags: ['tools'] }
|
|
|
|
# reconfiguring sshd may break the AUR on luna (unchecked)
|
|
|
|
#- { role: sshd, tags: ['sshd'] }
|
|
|
|
- { role: root_ssh, tags: ['root_ssh'] }
|
|
|
|
# borg-client needs to be adapted to use the hostname instead of hardcoded values
|
|
|
|
# here. this also probably doesn't work nicely for old hosts yet
|
2017-10-20 22:40:46 +02:00
|
|
|
- { role: borg-client, tags: ["borg"], when: "'borg-clients' in group_names" }
|
2017-11-20 21:32:02 +01:00
|
|
|
- { role: zabbix-agent, tags: ["zabbix", "zabbix-agent"], when: "'unmanaged' not in group_names" }
|
2018-03-05 22:46:24 +01:00
|
|
|
- { role: firewalld, tags: ['firewalld'] }
|