initial commit

main
Helix 3 years ago
commit 2eb3785445

@ -0,0 +1,19 @@
- name: "Add backup group"
ansible.builtin.group:
name: backup
state: present
- name: "Add backup users"
ansible.builtin.user:
name: "{{ item.name }}"
groups: "backup"
state: present
loop: "{{ backup_users }}"
- name: "Add keys for backup users"
ansible.posix.authorized_key:
user: "{{ item.0.name }}"
key: "{{ item.1 }}"
with_subelements:
- "{{ backup_users }}"
- keys
Loading…
Cancel
Save