ansible-role-common/tasks/usersetup.yml
2019-10-10 16:43:35 +02:00

10 lines
388 B
YAML

---
# 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"