ansible-role-common/tasks/usersetup.yml

10 lines
326 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-{{ ansible_os_family }}.yml"