Only when it exists.
This commit is contained in:
parent
5663ddc235
commit
ff5c174cf8
|
|
@ -33,6 +33,8 @@
|
||||||
- name: Load meta/preferences.yml
|
- name: Load meta/preferences.yml
|
||||||
ansible.builtin.include_vars:
|
ansible.builtin.include_vars:
|
||||||
file: "{{ role_path }}/meta/preferences.yml"
|
file: "{{ role_path }}/meta/preferences.yml"
|
||||||
|
when:
|
||||||
|
- preferencesymlstat.stat.exists
|
||||||
|
|
||||||
- name: Check defaults/main.yml
|
- name: Check defaults/main.yml
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue