fix: skip when shell_rc files is not defined
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
804eb02075
commit
d9bc119e63
@ -189,6 +189,7 @@
|
|||||||
- "{{ unix_user.value.xdg.dirs.state | default(user_user_home + '/.local/state') }}"
|
- "{{ unix_user.value.xdg.dirs.state | default(user_user_home + '/.local/state') }}"
|
||||||
|
|
||||||
- name: "Create shell rc files"
|
- name: "Create shell rc files"
|
||||||
|
when: unix_user.value.shell_rc_files is defined
|
||||||
ansible.builtin.include_tasks: create_shell_rc_file.yml
|
ansible.builtin.include_tasks: create_shell_rc_file.yml
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ unix_user.value.shell_rc_files }}"
|
- "{{ unix_user.value.shell_rc_files }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user