Created basic playbook skeleton and setup scripts

This commit is contained in:
Elia Farin
2025-12-16 16:15:29 -06:00
parent 24f742fbbe
commit d7dec88cf6
15 changed files with 331 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
---
- name: Create backup user
ansible.builtin.user:
name: "{{ user }}"
password_lock: "{{ password_locked }}"
- name: Install authorized keys file
ansible.builtin.file:
path: "/home/{{ user }}/.ssh/authorized_keys"
owner: "{{ user }}"
group: "{{ user }}"
mode: "0600"
backup: true