diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-03-04 15:39:58 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-03-04 17:32:14 +0100 |
| commit | f68a932b8270a3c6b0c839c86490756bed6a943f (patch) | |
| tree | 6c48e5f5952f0f10d956f5f988acb8fed10355e6 | |
| parent | f24937ba3b7bc67026888697a1b99994dbeeffdc (diff) | |
Remove small bootstrap playbook and merge it in site.yml
| -rw-r--r-- | bootstrap.yml | 23 | ||||
| -rw-r--r-- | site.yml | 18 |
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 @@ -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" |
