diff options
Diffstat (limited to 'ansible/roles/network/tasks/main.yml')
-rw-r--r-- | ansible/roles/network/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml index e8e059a..59f1d71 100644 --- a/ansible/roles/network/tasks/main.yml +++ b/ansible/roles/network/tasks/main.yml @@ -1,3 +1,6 @@ +- name: "Create iptables configuration direcetory" + file: path=/etc/iptables/ state=directory + - name: "Deploy iptablesv4 configuration" template: src=rules.v4.j2 dest=/etc/iptables/rules.v4 @@ -55,3 +58,6 @@ - name: "Enable Wireguard systemd service at boot" service: name=wg-quick@wgdeuxfleurs state=started enabled=yes daemon_reload=yes + +- name: "Create /tmp/wgdeuxfleurs.template.conf example configuration file for external nodes" + local_action: template src=wireguard_external.conf.j2 dest=/tmp/wgdeuxfleurs.template.conf |