ansible/roles/users/tasks/main.yml

6 lines
120 B
YAML

- name: create users
include_tasks: "{{ username }}.yml"
loop: "{{ users }}"
loop_control:
loop_var: username