wordpress pool and not pools.
This commit is contained in:
parent
28ff578bd2
commit
bcbf1484bf
|
@ -2,7 +2,7 @@
|
||||||
- block:
|
- block:
|
||||||
- name: Install the nginx virtualhost
|
- name: Install the nginx virtualhost
|
||||||
template: src=nginx_wordpress.conf.j2 dest=/etc/nginx/sites-available/wordpress.conf mode=0444
|
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
|
notify: Reload nginx
|
||||||
|
|
||||||
- name: Enable the nginx virtualhost
|
- name: Enable the nginx virtualhost
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- name: Create the wordpress document root
|
- name: Create the wordpress document root
|
||||||
file: dest={{ wordpress_doc_root }} state=directory owner={{ item.user }} group={{ item.group }}
|
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
|
tags: wordpress
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue