first commit

This commit is contained in:
Fabio Scotto di Santolo
2026-03-12 14:36:24 +01:00
commit 6e0f5eb83b
41 changed files with 404 additions and 0 deletions

5
ansible/ansible.cfg Normal file
View File

@@ -0,0 +1,5 @@
[defaults]
inventory = inventory/hosts.yml
roles_path = roles
host_key_checking = False
retry_files_enabled = False

View File

@@ -0,0 +1 @@
# common variables

View File

@@ -0,0 +1 @@
# desktop profile variables

View File

@@ -0,0 +1 @@
# server profile variables

View File

@@ -0,0 +1 @@
# variables for Ubuntu hosts

View File

@@ -0,0 +1 @@
# variables for Void Linux hosts

View File

@@ -0,0 +1 @@
# workstation profile variables

View File

@@ -0,0 +1 @@
# deadalus specific variables

View File

@@ -0,0 +1 @@
# ikaros specific variables

View File

@@ -0,0 +1 @@
# nymph specific variables

View File

@@ -0,0 +1 @@
# prometheus specific variables

View File

@@ -0,0 +1,24 @@
all:
children:
void:
hosts:
ikaros:
nymph:
ubuntu:
hosts:
deadalus:
prometheus:
desktop:
hosts:
ikaros:
nymph:
workstation:
hosts:
deadalus:
server:
hosts:
prometheus:

0
ansible/roles/.gitkeep Normal file
View File

View File

View File

@@ -0,0 +1 @@
# base role tasks

View File

View File

@@ -0,0 +1 @@
# dotfiles deployment tasks

View File

View File

@@ -0,0 +1 @@
# install packages with apt

View File

View File

@@ -0,0 +1 @@
# install packages with xbps

View File

@@ -0,0 +1 @@
# desktop profile tasks

View File

View File

@@ -0,0 +1 @@
# server profile tasks

View File

@@ -0,0 +1 @@
# workstation profile tasks

View File

View File

@@ -0,0 +1 @@
# enable runit services

View File

View File

@@ -0,0 +1 @@
# enable systemd services

31
ansible/site.yml Normal file
View File

@@ -0,0 +1,31 @@
---
- name: Converge all machines
hosts: all
become: true
roles:
- base
- role: packages_void
when: "'void' in group_names"
- role: packages_ubuntu
when: "'ubuntu' in group_names"
- role: services_runit
when: "'void' in group_names"
- role: services_systemd
when: "'ubuntu' in group_names"
- role: profile_desktop_i3
when: "'desktop' in group_names"
- role: profile_workstation_gnome
when: "'workstation' in group_names"
- role: profile_server
when: "'server' in group_names"
- role: dotfiles
become: false