Rocky 9 Changes
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

Update the main task to support rocky 9 packages, and loop through group
creation properly
This commit is contained in:
Zach Wayer
2025-06-21 20:46:54 -05:00
parent a3475f968b
commit 9c430d66be

View File

@@ -14,19 +14,17 @@
- curl - curl
- git - git
- jq - jq
- ncdu
- nfs-common
- python3
- python3-pip
- python3-venv
- tree - tree
- tmux - tmux
- zsh - zsh
- name: Add docker group - name: Add docker group
ansible.builtin.group: ansible.builtin.group:
name: group name: "{{ item }}"
state: present state: present
loop:
- docker
- sudo
- name: Add User - name: Add User
ansible.builtin.user: ansible.builtin.user:
@@ -39,3 +37,9 @@
ssh_key_type: ed25519 ssh_key_type: ed25519
create_home: true create_home: true
state: present state: present
- name: Set authorized key taken from file
ansible.posix.authorized_key:
user: zware
state: present
key: "{{ lookup('file', '~/.ssh/id_ed25519.pub') }}"