Rocky 9 Changes
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
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:
@@ -14,19 +14,17 @@
|
||||
- curl
|
||||
- git
|
||||
- jq
|
||||
- ncdu
|
||||
- nfs-common
|
||||
- python3
|
||||
- python3-pip
|
||||
- python3-venv
|
||||
- tree
|
||||
- tmux
|
||||
- zsh
|
||||
|
||||
- name: Add docker group
|
||||
ansible.builtin.group:
|
||||
name: group
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- docker
|
||||
- sudo
|
||||
|
||||
- name: Add User
|
||||
ansible.builtin.user:
|
||||
@@ -39,3 +37,9 @@
|
||||
ssh_key_type: ed25519
|
||||
create_home: true
|
||||
state: present
|
||||
|
||||
- name: Set authorized key taken from file
|
||||
ansible.posix.authorized_key:
|
||||
user: zware
|
||||
state: present
|
||||
key: "{{ lookup('file', '~/.ssh/id_ed25519.pub') }}"
|
||||
|
||||
Reference in New Issue
Block a user