summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-04 15:39:58 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-04 17:32:14 +0100
commitf68a932b8270a3c6b0c839c86490756bed6a943f (patch)
tree6c48e5f5952f0f10d956f5f988acb8fed10355e6
parentf24937ba3b7bc67026888697a1b99994dbeeffdc (diff)
Remove small bootstrap playbook and merge it in site.yml
-rw-r--r--bootstrap.yml23
-rw-r--r--site.yml18
2 files changed, 17 insertions, 24 deletions
diff --git a/bootstrap.yml b/bootstrap.yml
deleted file mode 100644
index 65218328..00000000
--- a/bootstrap.yml
+++ /dev/null
@@ -1,23 +0,0 @@
----
-- name: "Machine bootstrap"
- gather_facts: true
- tags: ["required_for_boot"]
- hosts:
- - marchlinux.local
- - archlinux.local
- - ubuntu.local
- - rpi5.local
- roles:
- - role: "hostname"
- - role: "network"
- - role: "user"
- - role: "ssh"
- - role: "password_policy"
- pre_tasks:
- - name: "Update package cache"
- become: true
- ansible.builtin.package:
- update_cache: true
- async: 60
- poll: 5
- failed_when: false
diff --git a/site.yml b/site.yml
index f2140ce6..34c96e5b 100644
--- a/site.yml
+++ b/site.yml
@@ -1,6 +1,22 @@
---
- name: "Bootstrap"
- ansible.builtin.import_playbook: "bootstrap.yml"
+ gather_facts: true
+ tags: ["required_for_boot"]
+ hosts: all
+ roles:
+ - role: "hostname"
+ - role: "network"
+ - role: "user"
+ - role: "ssh"
+ - role: "password_policy"
+ pre_tasks:
+ - name: "Update package cache"
+ become: true
+ ansible.builtin.package:
+ update_cache: true
+ async: 60
+ poll: 5
+ failed_when: false
- name: "Configure"
ansible.builtin.import_playbook: "configure.yml"