Only when it exists.

This commit is contained in:
Robert de Bock 2023-12-18 11:52:38 +01:00
parent 5663ddc235
commit ff5c174cf8
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@
- name: Load meta/preferences.yml
ansible.builtin.include_vars:
file: "{{ role_path }}/meta/preferences.yml"
when:
- preferencesymlstat.stat.exists
- name: Check defaults/main.yml
ansible.builtin.stat: