Skip to content
Snippets Groups Projects
Commit 0d353d6e authored by nimrod's avatar nimrod
Browse files

- Correct ansible_distribution_release/version for OpenBSD under Ansible 2.3...

- Correct ansible_distribution_release/version for OpenBSD under Ansible 2.3 or later (before they were reversed).
parent 9c20b2f9
Branches
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
- ansible_os_family in php_fpm_pools_dir
- ansible_os_family in php_fpm_user
- ansible_distribution_release in ['precise', 'wheezy', 'jessie', 'trusty'] or ansible_distribution_version in ['6.0']
- ansible_os_family != 'OpenBSD' or ansible_distribution_release in php_fpm_pkg_version
- ansible_os_family != 'OpenBSD' or ansible_distribution_version in php_fpm_pkg_version
- php_fpm_global_config is iterable
- php_fpm_www_pool_config is iterable
......@@ -27,7 +27,7 @@
- name: pkg install
when: ansible_pkg_mgr == 'openbsd_pkg'
openbsd_pkg:
name: '{{ php_fpm_pkg_version[ansible_distribution_release] }}'
name: '{{ php_fpm_pkg_version[ansible_distribution_version] }}'
state: present
- name: Create pools directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment