move most important config to ansible

This commit is contained in:
Johannes Knopp
2025-09-06 15:44:39 +02:00
parent 7770c4b5e4
commit 14e4d4fe3e
49 changed files with 179 additions and 327 deletions

View File

@ -0,0 +1,20 @@
---
- name: Update package cache (Arch-based systems)
pacman:
update_cache: yes
when: ansible_os_family == "Archlinux"
become: yes
- name: Install system packages
package:
name: "{{ system_packages }}"
state: present
become: yes
- name: Ensure .config directory exists
file:
path: "{{ config_dir }}"
state: directory
mode: '0755'
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"