Skip to content

Instantly share code, notes, and snippets.

@lucagervasi
Created February 5, 2017 13:04
Show Gist options
  • Save lucagervasi/27c0565db490024af57ce9a67126c550 to your computer and use it in GitHub Desktop.
Save lucagervasi/27c0565db490024af57ce9a67126c550 to your computer and use it in GitHub Desktop.
- name: "Configure php-fpm istance pools"
template:
src: config/php-fpm/pool.conf.j2
dest: "/config/{{item[0]}}/fpm-pools.d/{{item[1]}}"
with_nested:
- "{{fpm_istances}}"
- "fpmistance::{{item[0]}}::pools"
This is in the yaml
---
fpm_istances:
- default
fpmistance::default::pools:
- zabbixfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment