--- - 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" }