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

Commit 02b950b

Browse files
perrykjdauphant
authored andcommitted
Fix typo in modules config and restrict to EPEL (#232) (#235)
* Fix typo in modules config and restrict to EPEL (#232) * Fixes warning from duplicate when's in modules configuration (#233)
1 parent 6863343 commit 02b950b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tasks/configuration.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,14 @@
6262
- name: Create links for modules-enabled
6363
file:
6464
state: link
65-
src: "/urs/share/nginx/modules/{{ item }}.conf"
65+
src: "/usr/share/nginx/modules/{{ item }}.conf"
6666
dest: "{{ nginx_conf_dir }}/modules-enabled/{{ item }}.conf"
6767
with_items: "{{ nginx_module_configs }}"
68-
when: (item not in nginx_remove_modules) and (item not in nginx_disabled_modules)
6968
ignore_errors: "{{ ansible_check_mode }}"
7069
notify:
7170
- reload nginx
72-
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
71+
when:
72+
- (item not in nginx_remove_modules) and (item not in nginx_disabled_modules)
73+
- ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
74+
- nginx_install_epel_repo
75+

0 commit comments

Comments
 (0)