ansible-role-common/tasks/usersetup.yml

10 lines
388 B
YAML
Raw Normal View History

---
# Common/Usersetup: Auto-setup a user shell and prepare dotfiles.
# Will run once per user, because of lockfile `~/.ansbl-common-usersetup`
- name: usersetup - Run setup tasks
include_tasks: "{{ item }}"
with_first_found:
- "usersetup-{{ ansible_distribution }}.yml"
- "usersetup-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"