initial ansible code

This commit is contained in:
Oli
2022-10-09 21:41:56 +00:00
parent 4a64eab4a0
commit feaec34dd2
103 changed files with 4473 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
- name: Set authorized keys
authorized_key:
user: "{{ main_user }}"
key: "{{ lookup('file', 'public_keys.pub') }}"
state: present
exclusive: true # removing all the authorized keys already set