summaryrefslogtreecommitdiffstats
path: root/site.yml
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 /site.yml
parentf24937ba3b7bc67026888697a1b99994dbeeffdc (diff)
Remove small bootstrap playbook and merge it in site.yml
Diffstat (limited to 'site.yml')
-rw-r--r--site.yml18
1 files changed, 17 insertions, 1 deletions
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"