remove wireguard server for jefke
This commit is contained in:
parent
4c80a1c96f
commit
50f2d0ada1
1 changed files with 7 additions and 8 deletions
|
@ -26,24 +26,23 @@
|
|||
roles:
|
||||
- {role: postgresql, tags: postgresql}
|
||||
- {role: ssh_ca, tags: ssh_ca}
|
||||
- {role: wireguard, tags: wireguard}
|
||||
|
||||
- hosts: hypervisors
|
||||
no_log: False
|
||||
|
||||
handlers:
|
||||
- name: enable interfaces
|
||||
command:
|
||||
cmd: ifup -a
|
||||
|
||||
pre_tasks:
|
||||
- name: Copy interfaces configuration
|
||||
copy:
|
||||
src: dmz.conf
|
||||
dest: /etc/network/interfaces.d/dmz.conf
|
||||
notify: enable interfaces
|
||||
register: interfaces
|
||||
|
||||
- name: Enable interfaces
|
||||
command:
|
||||
cmd: ifup -a
|
||||
when: interfaces.changed
|
||||
|
||||
roles:
|
||||
- {role: wireguard, tags: wireguard}
|
||||
- {role: ssh_ca_known_hosts, tags: ssh_ca_known_hosts}
|
||||
- {role: deploy_ssh_certificates, tags: deploy_ssh_certificates}
|
||||
- {role: borg, tags: borg}
|
||||
|
|
Reference in a new issue