aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/plays')
-rw-r--r--ansible/plays/files/astyanax/etc/wireguard/public-wg0.key1
-rw-r--r--ansible/plays/files/sweetzpot-mobile/etc/wireguard/public-wg0.key1
-rw-r--r--ansible/plays/malabaricus.yml2
-rw-r--r--ansible/plays/wireguard-wg0.yml6
-rw-r--r--ansible/plays/wireguard.yml9
5 files changed, 11 insertions, 8 deletions
diff --git a/ansible/plays/files/astyanax/etc/wireguard/public-wg0.key b/ansible/plays/files/astyanax/etc/wireguard/public-wg0.key
new file mode 100644
index 0000000..62eb9b6
--- /dev/null
+++ b/ansible/plays/files/astyanax/etc/wireguard/public-wg0.key
@@ -0,0 +1 @@
+CnfTr3NGymPlOKzWeaUXutxaIFKRDpREx3XI40rUr2U=
diff --git a/ansible/plays/files/sweetzpot-mobile/etc/wireguard/public-wg0.key b/ansible/plays/files/sweetzpot-mobile/etc/wireguard/public-wg0.key
new file mode 100644
index 0000000..73c8ae8
--- /dev/null
+++ b/ansible/plays/files/sweetzpot-mobile/etc/wireguard/public-wg0.key
@@ -0,0 +1 @@
+EQhaAO3krXKwugH0gdWEd/VjtsxXVWg0osNi5Ia6KDs=
diff --git a/ansible/plays/malabaricus.yml b/ansible/plays/malabaricus.yml
index 8ed1ea8..6e6a9a4 100644
--- a/ansible/plays/malabaricus.yml
+++ b/ansible/plays/malabaricus.yml
@@ -39,6 +39,8 @@
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
+
+ max_execution_time = 300
notify: systemctl restart fpm
- lineinfile:
path: '/etc/php/{{ fpm_version }}/fpm/pool.d/www.conf'
diff --git a/ansible/plays/wireguard-wg0.yml b/ansible/plays/wireguard-wg0.yml
new file mode 100644
index 0000000..578fc81
--- /dev/null
+++ b/ansible/plays/wireguard-wg0.yml
@@ -0,0 +1,6 @@
+- hosts:
+ - wireguard_wg0
+ roles:
+ - role: wireguard
+ wireguard__name: wireguard_wg0
+
diff --git a/ansible/plays/wireguard.yml b/ansible/plays/wireguard.yml
index 26ee9ff..87ae59b 100644
--- a/ansible/plays/wireguard.yml
+++ b/ansible/plays/wireguard.yml
@@ -8,15 +8,8 @@
wireguard__state: absent
wireguard__name: wireguard_wg_net1
-- hosts:
- - wireguard_wg0
+- import_playbook: wireguard-wg0.yml
tags: wg0
- roles:
- - role: wireguard
- wireguard__name: wireguard-wg0
- vars:
- wg_net: "{{ hostvars[ansible_hostname][wireguard__name] }}"
- wg_host: "{{ wg_net.hosts[ansible_hostname] }}"
- hosts:
- wireguard_wg1