19 lines
361 B
YAML
19 lines
361 B
YAML
|
- name: Load OS specific variables.
|
||
|
tags: always,users
|
||
|
ansible.builtin.include_vars:
|
||
|
file: "os_{{ os_distribution }}.yml"
|
||
|
|
||
|
- include_tasks:
|
||
|
file: groups.yml
|
||
|
tags: users
|
||
|
with_items: "{{ users }}"
|
||
|
loop_control:
|
||
|
loop_var: user
|
||
|
|
||
|
- include_tasks:
|
||
|
file: users.yml
|
||
|
tags: users
|
||
|
with_items: "{{ users }}"
|
||
|
loop_control:
|
||
|
loop_var: user
|