ansible-role-users/tasks/main.yml

19 lines
361 B
YAML
Raw Normal View History

2022-01-23 02:20:50 +01:00
- 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