Skip to content

Compose role rework#67

Merged
hazzuk merged 12 commits into
devfrom
compose-role
May 23, 2026
Merged

Compose role rework#67
hazzuk merged 12 commits into
devfrom
compose-role

Conversation

@hazzuk
Copy link
Copy Markdown
Owner

@hazzuk hazzuk commented May 20, 2026

Description

This is a large PR, which primarily changes how secrets are handled when creating stacks. It also reworks large parts of the compose role itself. Bringing cleaner code and improved reliability.

Additionally, some of the changes made to the compose role inspired smaller related improvements elsewhere in the playbook.

Changes

  • Inject secrets dynamically using files instead of hardcoded environment variables.
  • Add asserts for the compose role. Ensuring the user has setup Docker, and is using a valid stack name.
  • Improve logging output when running the playbook. Especially with loops in the compose role.
  • Simplify and deduplicate code.

And

  • Standardise tmpfs directory paths (inline with the new path secrets files are created at).
  • Avoid the need to input the system's become password when running the playbook.

Notes

Checklist

  • Written documentation
  • Linked relevant issues

@hazzuk hazzuk requested a review from mosslocker May 20, 2026 22:12
@hazzuk hazzuk added Kind/Enhancement Improve existing functionality Kind/Feature New functionality Status/Needs Documentation Documentation changes required labels May 20, 2026
@hazzuk
Copy link
Copy Markdown
Owner Author

hazzuk commented May 23, 2026

Docs updated with PR changes:

@hazzuk hazzuk removed the Status/Needs Documentation Documentation changes required label May 23, 2026
@hazzuk hazzuk merged commit c71b283 into dev May 23, 2026
@hazzuk hazzuk deleted the compose-role branch May 23, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Kind/Enhancement Improve existing functionality Kind/Feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants