wordpress pool and not pools.

This commit is contained in:
Andrea Dell'Amico 2020-04-27 16:26:57 +02:00
parent 28ff578bd2
commit bcbf1484bf
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
- block:
- name: Install the nginx virtualhost
template: src=nginx_wordpress.conf.j2 dest=/etc/nginx/sites-available/wordpress.conf mode=0444
with_items: '{{ wordpress_phpfpm_pools }}'
with_items: '{{ wordpress_phpfpm_pool }}'
notify: Reload nginx
- name: Enable the nginx virtualhost

View File

@ -8,7 +8,7 @@
- name: Create the wordpress document root
file: dest={{ wordpress_doc_root }} state=directory owner={{ item.user }} group={{ item.group }}
with_items: '{{ wordpress_phpfpm_pools }}'
with_items: '{{ wordpress_phpfpm_pool }}'
tags: wordpress