add playbooks
This commit is contained in:
parent
840c85a19a
commit
5567f60b44
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- hosts: "{{ host }}"
|
||||
vars:
|
||||
vars_files:
|
||||
- variables.yml
|
||||
|
||||
tasks:
|
||||
- name: Add ssh pub keys
|
||||
authorized_key:
|
||||
user: "{{ item.name }}"
|
||||
key: "{{ item.key }}"
|
||||
state: present
|
||||
manage_dir: yes
|
||||
with_items: "{{ users }}"
|
Loading…
Reference in New Issue