ansible-personal/roles
Alan Orth 81c1231a28
roles/php-fpm: Fix logic
First, we cannot do a global check for has_wordpress or needs_php,
as those are defined per nginx vhost. Second, I realized that this
was only working in the past because vhosts that had WordPress or
needed PHP were listed first in the nginx_vhosts dict.

This changes the logic to first check if any vhosts have WordPress
or need PHP, then sets a fact that we can use to decide whether to
run php-fpm tasks or not.
2021-09-08 09:32:06 +03:00
..
common roles/common: Add git-lfs to base packages 2021-09-07 17:51:33 +03:00
mariadb roles/mariadb: use socket for all operations 2021-09-07 16:48:15 +03:00
munin roles/munin: Remove tomcat config 2020-07-14 09:47:39 +03:00
nginx roles/nginx: Use php7.4-fpm socket on Debian 11 as well 2021-09-07 17:51:54 +03:00
php-fpm roles/php-fpm: Fix logic 2021-09-08 09:32:06 +03:00