add support for ssh keys
This commit is contained in:
parent
5130e07acc
commit
fbb20fdf1d
3 changed files with 19 additions and 7 deletions
|
|
@ -1,9 +1,13 @@
|
|||
- name: handle groups
|
||||
with_dict: "{{ accounts.groups }}"
|
||||
loop: "{{ accounts.groups|dict2items }}"
|
||||
loop_control:
|
||||
loop_var: currentgroup
|
||||
include_tasks:
|
||||
file: groups.yml
|
||||
|
||||
- name: handle users
|
||||
with_dict: "{{ accounts.users }}"
|
||||
loop: "{{ accounts.users|dict2items }}"
|
||||
loop_control:
|
||||
loop_var: currentuser
|
||||
include_tasks:
|
||||
file: users.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue