wordpress pool and not pools. #14
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue