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