From 7e97019200df3e40e9cff079baff7d3739c8d2a6 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 20 Aug 2025 00:02:42 +0200 Subject: Restructure the playbook hosts/roles --- site.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/site.yml b/site.yml index d19385dd..3bfd0c3f 100644 --- a/site.yml +++ b/site.yml @@ -5,10 +5,7 @@ # But it's quite nice to configure it for boot and therefore # enforce the required policies/configurations wanted for the first passwrod change tags: ["required_for_boot"] - hosts: - - archlinux.local - - ubuntu.local - - rpi5.local + hosts: all roles: - role: "hostname" - role: "network" @@ -21,12 +18,11 @@ ansible.builtin.package: update_cache: true -- name: "Distro configure common roles" +- name: "Dev machines configure" gather_facts: true hosts: - archlinux.local - ubuntu.local - - rpi5.local roles: - role: "locales" - role: "timezone" @@ -38,4 +34,6 @@ - rpi5.local become: true roles: + - role: "locales" + - role: "timezone" - role: "pihole" -- cgit v1.2.3