Merge pull request 'wordpress pool and not pools.' (#14) from adellam/ansible-role-wordpress:master into master

This commit is contained in:
Andrea Dell'Amico 2020-04-27 16:27:17 +02:00
commit c217dd3361
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