Skip to content

Commit

Permalink
Move WP php-fpm confs into wordpress-sites role
Browse files Browse the repository at this point in the history
  • Loading branch information
swalkinshaw committed May 2, 2014
1 parent 6e82758 commit e934c02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions roles/php-55/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@
when: disable_default_pool
notify: restart php-fpm

- name: Copy php-fpm configuration
template: src=wordpress.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.site_name }}.conf
with_items: wordpress_sites
notify: restart php-fpm
4 changes: 4 additions & 0 deletions roles/wordpress-sites/tasks/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
state=link
with_items: wordpress_sites

- name: Copy php-fpm configuration
template: src=php-fpm.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.site_name }}.conf
with_items: wordpress_sites
notify: restart php-fpm
File renamed without changes.

0 comments on commit e934c02

Please sign in to comment.