--- - name: Check if ansible is not to old hosts: localhost roles: - {role: do1jlr.ansible_version, tags: [default, version, default, always], gather_facts: false} - name: General roles for all hosts hosts: all roles: - {role: do1jlr.base, tags: [default, packages, base]} - {role: do1jlr.ranger, tags: [packages, ranger]} - {role: unattended_upgrades, tags: [default, unattended, unattended_upgrades, security], become: true, when: ansible_distribution == 'Debian'} - {role: do1jlr.ntp, tags: [ntp]} - name: User specific roles for all hosts hosts: all roles: - {role: do1jlr.admin_base, tags: [default, init, users, accounts, dotfiles]} - {role: do1jlr.dotfiles, tags: [default, dotfiles]}