Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Fix typo in modules config and restrict to EPEL (#232) (#235)
Browse files Browse the repository at this point in the history
* Fix typo in modules config and restrict to EPEL (#232)

* Fixes warning from duplicate when's in modules configuration (#233)
  • Loading branch information
perryk authored and jdauphant committed Jan 8, 2019
1 parent 6863343 commit 02b950b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tasks/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,14 @@
- name: Create links for modules-enabled
file:
state: link
src: "/urs/share/nginx/modules/{{ item }}.conf"
src: "/usr/share/nginx/modules/{{ item }}.conf"
dest: "{{ nginx_conf_dir }}/modules-enabled/{{ item }}.conf"
with_items: "{{ nginx_module_configs }}"
when: (item not in nginx_remove_modules) and (item not in nginx_disabled_modules)
ignore_errors: "{{ ansible_check_mode }}"
notify:
- reload nginx
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
when:
- (item not in nginx_remove_modules) and (item not in nginx_disabled_modules)
- ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
- nginx_install_epel_repo

0 comments on commit 02b950b

Please sign in to comment.