mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
25 lines
768 B
YAML
25 lines
768 B
YAML
---
|
|
|
|
- name: general roles for all hosts
|
|
hosts: all
|
|
roles:
|
|
- { role: base, tags: [default,packages,base]}
|
|
- { role: ranger, tags: [packages,ranger]}
|
|
- { role: bat, tags: [packages,bat], when: [ansible_os_family == 'Debian']}
|
|
|
|
- name: user specific roles for all hosts
|
|
hosts: all
|
|
roles:
|
|
- { role: users, tags: [default,users]}
|
|
- { role: dotfiles, tags: [default,dotfiles]}
|
|
- { role: ssh_auth, tags: [default,users]}
|
|
- { role: sshd, tags: [default,users]}
|
|
|
|
- name: deploy web config
|
|
hosts: web
|
|
roles:
|
|
- { role: webhost2, tags: [web,webhost]}
|
|
- { role: acmetool_fix, tags: [web,acmetool]}
|
|
- { role: acmetool2, tags: [web,acmetool]}
|
|
- { role: nginx2, tags: [web,nginx]}
|
|
- { role: goaccess, tags: [web,goaccess]}
|