mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Fix warning on when
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: FAIL | If Dynamic module is not available
|
- name: FAIL | If Dynamic module is not available
|
||||||
fail: msg="{{ item }} dynamic module is not available"
|
fail:
|
||||||
|
msg: "{{ item }} dynamic module is not available"
|
||||||
with_items: "{{ nginx_dyn_modules }}"
|
with_items: "{{ nginx_dyn_modules }}"
|
||||||
when: "'{{ item }}=dynamic' not in nginx_modules"
|
when: item + '=dynamic' not in nginx_modules
|
||||||
|
|
||||||
- name: APT | Install nginx modules
|
- name: APT | Install nginx modules
|
||||||
apt: >
|
apt: >
|
||||||
|
|||||||
Reference in New Issue
Block a user