add support for ssh keys

This commit is contained in:
nd 2020-09-25 18:23:57 +02:00
parent 5130e07acc
commit fbb20fdf1d
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
3 changed files with 19 additions and 7 deletions

View file

@ -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