init commit

This commit is contained in:
2025-07-21 14:26:07 -05:00
commit 6a683a7a38
25 changed files with 635 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Allow user to set their own password
hosts: all
become: true
gather_facts: false
vars:
username: "{{ username }}"
tasks:
- name: Unlock password so user can run passwd
ansible.builtin.command: "passwd -d {{ username }}"
when: not ansible_check_mode
- name: Ensure user is not locked
ansible.builtin.user:
name: "{{ username }}"
password_lock: false