From e02325cde6624243f3498226301018dca037c9cd Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 11 Aug 2025 00:32:04 +0200 Subject: 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) --- site.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'site.yml') diff --git a/site.yml b/site.yml index b27e77c8..88fb32d4 100644 --- a/site.yml +++ b/site.yml @@ -6,5 +6,8 @@ - chroot roles: - role: "network" + tags: ["required_for_boot"] - role: "user" + tags: ["required_for_boot"] - role: "ssh" + tags: ["required_for_boot"] -- cgit v1.2.3