Remove jinja in when
This commit is contained in:
parent
9cc45fa8d3
commit
b23a4ffa3d
@ -24,7 +24,7 @@
|
||||
chdir: "{{ tmodloader_data_prefix }}/data/ModLoader/Mods"
|
||||
creates: "{{ tmodloader_data_prefix }}/data/ModLoader/Mods/{{ item }}.tmod"
|
||||
with_list: "{{ tmodloader_mods }}"
|
||||
when: "{{ tmodloader_mods }}"
|
||||
when: tmodloader_mods
|
||||
notify: "restart tmodloader {{ tmodloader_name }}"
|
||||
- name: enable mods
|
||||
ansible.builtin.template:
|
||||
@ -33,7 +33,7 @@
|
||||
owner: "{{ tmodloader_uid }}"
|
||||
group: "{{ tmodloader_gid }}"
|
||||
mode: "0750"
|
||||
when: "{{ tmodloader_mods }}"
|
||||
when: tmodloader_mods
|
||||
notify: "restart tmodloader {{ tmodloader_name }}"
|
||||
- name: assure tmodloader {{ tmodloader_name }} files
|
||||
ansible.builtin.file:
|
||||
|
Loading…
Reference in New Issue
Block a user