ansible-experiments/add-users-groups-authorized_keys-dot-files/roles/users/tasks/main.yml
2018-08-26 15:10:15 +02:00

12 lines
295 B
YAML

---
- name: Check for required variables
fail:
msg: "Variable: 'users.name' or 'users.state' NOT defined!"
with_items: "{{ users }}"
when: item.state is not defined or item.name is not defined
- include_tasks: set_facts.yml
- include_tasks: users.yml
- include_tasks: ssh_config.yml