This commit is contained in:
2026-08-02 09:48:36 -05:00
parent ed627fbd19
commit 316e6018fc
2 changed files with 16 additions and 7 deletions
+9 -1
View File
@@ -15,7 +15,7 @@
- name: Install bootstrap packages
become: true
ansible.builtin.apt:
state: latest
state: present
pkg:
- bash
- python3
@@ -150,6 +150,12 @@
loop:
- files/ssh-keys/heath.pub
- name: Lock the root user's password
become: true
ansible.builtin.user:
name: root
password_lock: true
#### User: first
@@ -198,6 +204,7 @@
append: true
create_home: true
shell: /usr/bin/bash
password_lock: true
- name: Set hpf-ans's authorized_keys
become: true
@@ -248,6 +255,7 @@
append: true
create_home: true
shell: /usr/bin/bash
password: '$y$j9T$.NJVASBkVLnvqgznpcpdx1$7poH23pou7VHti3IfvDzwECdLtTcMercYNCeevgV.xC'
- name: Set heath's authorized_keys
become: true