diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2020-03-15 23:42:30 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2020-03-15 23:42:36 +0100 |
commit | cc6523f339bd7a78572ceeea79cd1943014d707d (patch) | |
tree | 6e7fbff1f0cee4ee2a7c7817a3daebb1aa82c27e /ansible/plays | |
parent | df500e4e591fdbd6f384d0b77137dd5916de6b68 (diff) | |
download | infra-cc6523f339bd7a78572ceeea79cd1943014d707d.tar.gz infra-cc6523f339bd7a78572ceeea79cd1943014d707d.tar.bz2 infra-cc6523f339bd7a78572ceeea79cd1943014d707d.tar.xz infra-cc6523f339bd7a78572ceeea79cd1943014d707d.zip |
misc
Diffstat (limited to 'ansible/plays')
-rw-r--r-- | ansible/plays/files/astyanax/etc/wireguard/public-wg0.key | 1 | ||||
-rw-r--r-- | ansible/plays/files/sweetzpot-mobile/etc/wireguard/public-wg0.key | 1 | ||||
-rw-r--r-- | ansible/plays/malabaricus.yml | 2 | ||||
-rw-r--r-- | ansible/plays/wireguard-wg0.yml | 6 | ||||
-rw-r--r-- | ansible/plays/wireguard.yml | 9 |
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 |