summaryrefslogtreecommitdiffstats
path: root/site.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-20 00:02:42 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-20 00:07:39 +0200
commit7e97019200df3e40e9cff079baff7d3739c8d2a6 (patch)
treec0e197e1cb1acc7f720f257f1d4d307b298403b0 /site.yml
parentf9b1434299720b009f00477c3b7e880c1f47765e (diff)
Restructure the playbook hosts/roles
Diffstat (limited to 'site.yml')
-rw-r--r--site.yml10
1 files 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"