1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
This commit is contained in:
L3D 2022-10-11 20:39:03 +02:00
parent 904421a96e
commit 40cce92806
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -1,10 +1,10 @@
--- ---
- name: check if ansible is not to old - name: Check if ansible is not to old
hosts: localhost hosts: localhost
roles: roles:
- {role: do1jlr.ansible_version, tags: [default, version, default, always], gather_facts: false} - {role: do1jlr.ansible_version, tags: [default, version, default, always], gather_facts: false}
- name: general roles for all hosts - name: General roles for all hosts
hosts: all hosts: all
roles: roles:
- {role: do1jlr.base, tags: [default, packages, base]} - {role: do1jlr.base, tags: [default, packages, base]}
@ -15,7 +15,7 @@
- {role: do1jlr.avahi_client, tags: [avahi, avahi_client]} - {role: do1jlr.avahi_client, tags: [avahi, avahi_client]}
- {role: do1jlr.ntp, tags: [ntp]} - {role: do1jlr.ntp, tags: [ntp]}
- name: user specific roles for all hosts - name: User specific roles for all hosts
hosts: all hosts: all
roles: roles:
- {role: do1jlr.admin_base, tags: [default, init, users, accounts, dotfiles]} - {role: do1jlr.admin_base, tags: [default, init, users, accounts, dotfiles]}
@ -23,7 +23,7 @@
- {role: geerlingguy.firewall, tags: [default, firewall], become: true} - {role: geerlingguy.firewall, tags: [default, firewall], become: true}
- {role: robertdebock.fail2ban, tags: [default, fail2ban], become: true} - {role: robertdebock.fail2ban, tags: [default, fail2ban], become: true}
- name: deploy web config - name: Deploy web config
hosts: web hosts: web
roles: roles:
- {role: do1jlr.webhost, tags: [web, webhost], become: true} - {role: do1jlr.webhost, tags: [web, webhost], become: true}
@ -32,12 +32,12 @@
- {role: do1jlr.mysql, tags: [web, git, mysql], become: true} - {role: do1jlr.mysql, tags: [web, git, mysql], become: true}
- {role: do1jlr.gitea, tags: [web, gitea, git]} - {role: do1jlr.gitea, tags: [web, gitea, git]}
- name: deploy dns resolver - name: Deploy dns resolver
hosts: resolver hosts: resolver
roles: roles:
- {role: do1jlr.unbound, tags: [mail, unbound]} - {role: do1jlr.unbound, tags: [mail, unbound]}
- name: deploy mail config - name: Deploy mail config
hosts: mail hosts: mail
roles: roles:
- {role: do1jlr.mysql, tags: [mail, mysql, mariadb], become: true} - {role: do1jlr.mysql, tags: [mail, mysql, mariadb], become: true}
@ -50,6 +50,6 @@
- {role: do1jlr.rspamd, tags: [mail, rspamd]} - {role: do1jlr.rspamd, tags: [mail, rspamd]}
- {role: do1jlr.weechat, tags: [irc, weechat]} - {role: do1jlr.weechat, tags: [irc, weechat]}
- name: setup luna.l3d.ch host - name: Setup luna.l3d.ch host
hosts: luna.l3d.ch hosts: luna.l3d.ch
roles: [] roles: []