We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4bfe2d commit 167cbc2Copy full SHA for 167cbc2
tasks/opensource/install-distribution.yml
@@ -36,9 +36,7 @@
36
args:
37
creates: "{{ (nginx_setup == 'uninstall') | ternary(omit, '/sbin/nginx') }}"
38
removes: "{{ (nginx_setup == 'uninstall') | ternary('/sbin/nginx', omit) }}"
39
- when:
40
- - ansible_facts['distribution'] == "Amazon"
41
- - nginx_state == "absent"
+ when: ansible_facts['distribution'] == "Amazon"
42
notify: (Handler) Run NGINX
43
44
- name: "{{ nginx_setup | capitalize }} NGINX from the distribution's package repository"
0 commit comments