diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-08-11 00:32:04 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-08-11 00:32:04 +0200 |
| commit | e29ccfa18e51059897da5657f3b577ea28617f53 (patch) | |
| tree | e3f1656e50060064da5b3b062fef33263fd90072 /site.yml | |
| parent | 4c469b480da9767d6e7cacda9cfb332dec85a07c (diff) | |
Simplify playbook by requiring the required_for_boot tag on roles
Instead of optimizing for task execution for boot, it's simpler and
almost as equally safe (if not even more) to require the role for boot
instead of requiring each of it's needed tasks.
This will also prevent having internal bugs because a set fact wasn't
required for boot and didn't add the info
(similar to the fix in commit: 9f72c58)
Diffstat (limited to 'site.yml')
| -rw-r--r-- | site.yml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,5 +6,8 @@ - chroot roles: - role: "network" + tags: ["required_for_boot"] - role: "user" + tags: ["required_for_boot"] - role: "ssh" + tags: ["required_for_boot"] |
