remove wireguard server for jefke

This commit is contained in:
Pim Kunis 2023-05-04 13:43:33 +02:00
parent 4c80a1c96f
commit 50f2d0ada1

View file

@ -26,24 +26,23 @@
roles: roles:
- {role: postgresql, tags: postgresql} - {role: postgresql, tags: postgresql}
- {role: ssh_ca, tags: ssh_ca} - {role: ssh_ca, tags: ssh_ca}
- {role: wireguard, tags: wireguard}
- hosts: hypervisors - hosts: hypervisors
no_log: False
handlers:
- name: enable interfaces
command:
cmd: ifup -a
pre_tasks: pre_tasks:
- name: Copy interfaces configuration - name: Copy interfaces configuration
copy: copy:
src: dmz.conf src: dmz.conf
dest: /etc/network/interfaces.d/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: roles:
- {role: wireguard, tags: wireguard}
- {role: ssh_ca_known_hosts, tags: ssh_ca_known_hosts} - {role: ssh_ca_known_hosts, tags: ssh_ca_known_hosts}
- {role: deploy_ssh_certificates, tags: deploy_ssh_certificates} - {role: deploy_ssh_certificates, tags: deploy_ssh_certificates}
- {role: borg, tags: borg} - {role: borg, tags: borg}