mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-11 03:37:08 +00:00
Optimized variable conditions for ansible update 2.18 -> 2.20
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
app_style_present: "{{ _app_style_src | length > 0 }}"
|
||||
|
||||
- name: "Deploy per-app '{{ app_style_src }}' to '{{ css_app_dst }}'"
|
||||
when: app_style_present
|
||||
when: app_style_present | bool
|
||||
copy:
|
||||
content: "{{ lookup('template', app_style_src) }}"
|
||||
dest: "{{ css_app_dst }}"
|
||||
|
||||
Reference in New Issue
Block a user