switches from fedora to arch, reorg, etc

This commit is contained in:
2022-11-21 23:06:28 -08:00
parent 23c399f9e7
commit 6b7b19e108
14 changed files with 87 additions and 177 deletions
+15 -9
View File
@@ -1,15 +1,9 @@
---
- name: Configure DNF
template:
src: dnf.conf.j2
dest: /etc/dnf/dnf.conf
- name: Create groups
group:
name: "{{ item.value.group }}"
gid: "{{ item.value.uid }}"
state: "{{ item.value.state }}"
loop: "{{ init_users | dict2items }}"
name: "{{ item }}"
state: present
loop: "{{ init_groups }}"
- name: Ensure Users are Configured Correctly
user:
@@ -51,3 +45,15 @@
template:
src: motd.j2
dest: /etc/motd
- name: Install galaxy collections
community.general.ansible_galaxy_install:
type: collection
name: "{{ item }}"
loop: "{{ ansible_galaxy_collections }}"
- name: start/enable docker daemon
systemd:
name: docker.service
state: started
enabled: true