1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 16:49:00 +02:00
infrastructure/playbooks/all-hosts-basic.yml
Florian Pritz 425f4263d8 Deploy basic config on nymeria and dragon
Mostly interesting for root_ssh.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-11-20 21:32:02 +01:00

16 lines
648 B
YAML

---
- name: basic setup for all hosts
hosts: all
remote_user: root
roles:
- { role: common, tags: ['common'] }
- { 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
- { role: borg-client, tags: ["borg"], when: "'borg-clients' in group_names" }
- { role: zabbix-agent, tags: ["zabbix", "zabbix-agent"], when: "'unmanaged' not in group_names" }