ansible-experiments/add-users-groups-authorized_keys-dot-files/roles/users/tasks/main.yml

12 lines
295 B
YAML
Raw Normal View History

2018-08-07 19:23:08 +00:00
---
- 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
2018-08-13 14:02:31 +00:00
- include_tasks: set_facts.yml
- include_tasks: users.yml
- include_tasks: ssh_config.yml