Fix warning on when

This commit is contained in:
Emilien Mantel
2017-07-27 12:01:59 +02:00
parent 50e25d45b8
commit acf8de8f87

View File

@@ -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: >