commit 8a4dd204c5c859717cf8abdf6bea366627fa9d6e
parent 67bc36d1f928e826f66439f0307afb9d2109fc5b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 23 Feb 2021 17:40:59 +0100
parent 67bc36d1f928e826f66439f0307afb9d2109fc5b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 23 Feb 2021 17:40:59 +0100
update playbook and configuration
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/configuration/lollo.yml b/configuration/lollo.yml @@ -198,6 +198,20 @@ services: renew_tasks: - chown -R acme-redirect:acme-redirect /var/lib/acme-redirect/live/influx.home.ctu.cx + php_fpm: + enable: true + version: 8 + extraModules: + - gd + - intl + listeners: + www: + user: leah + group: leah + listenerPath: /run/php-fpm/php-fpm.sock + listenerOwner: nginx + listenerGroup: nginx + nginx: enable: true sslOnly: true
diff --git a/playbook.yml b/playbook.yml @@ -116,6 +116,8 @@ tags: systemd-networkd - role: acme-redirect tags: acme-redirect + - role: php-fpm # supports: alpine, arch + tags: php-fpm - role: nginx tags: nginx - role: hostapd
diff --git a/roles/openssh/tasks/install.yml b/roles/openssh/tasks/install.yml @@ -4,7 +4,6 @@ apk: name: openssh state: present - update_cache: yes when: - ansible_distribution == "Alpine" @@ -12,6 +11,5 @@ pacman: name: openssh state: present - update_cache: yes when: - ansible_distribution == "Archlinux"