2019-10-06 20:41:31 +00:00
|
|
|
---
|
|
|
|
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles.
|
|
|
|
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
|
|
|
|
|
2023-04-28 21:25:25 +00:00
|
|
|
- name: Usersetup - Run setup tasks
|
2021-08-28 14:58:03 +00:00
|
|
|
ansible.builtin.include_tasks: "{{ item }}"
|
2019-10-06 20:41:31 +00:00
|
|
|
with_first_found:
|
|
|
|
- "usersetup-{{ ansible_distribution }}.yml"
|
2023-04-28 21:25:25 +00:00
|
|
|
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family, ansible_os_family) }}.yml"
|