Commit Graph

16 Commits

Author SHA1 Message Date
8c9bdfbea5
feat: enable customization of unit options in systemd file
All checks were successful
development / Check commit compliance (push) Successful in 5s
test / Retrieve Credentials (pull_request) Successful in 1s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Successful in 39s
test / end_to_end_role (default, debian12) (pull_request) Successful in 38s
test / end_to_end_role (default, ubuntu2004) (pull_request) Successful in 40s
test / end_to_end_role (default, ubuntu2204) (pull_request) Successful in 39s
test / end_to_end_role (default, ubuntu2404) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Successful in 40s
This also adjusts the unit.j2 template accordingly, as well as update documentation for the role.

It also updates tests to cover more scenarios
2024-11-09 17:03:46 +01:00
56f74786aa
ci: fix custom flags tests, add different image values
All checks were successful
development / Check commit compliance (push) Successful in 4s
test / Retrieve Credentials (pull_request) Successful in 1s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Successful in 38s
test / end_to_end_role (default, debian12) (pull_request) Successful in 38s
test / end_to_end_role (default, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (default, ubuntu2204) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Successful in 38s
test / end_to_end_role (default, ubuntu2404) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Successful in 39s
2024-11-09 14:06:07 +01:00
ffbb6157ef
feat: only allow starting and managing running services.
All checks were successful
test / Retrieve Credentials (pull_request) Successful in 2s
development / Check commit compliance (push) Successful in 5s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
test / end_to_end_role (default, debian11) (pull_request) Successful in 39s
test / end_to_end_role (default, debian12) (pull_request) Successful in 40s
test / end_to_end_role (default, ubuntu2004) (pull_request) Successful in 40s
test / end_to_end_role (default, ubuntu2204) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, debian11) (pull_request) Successful in 37s
test / end_to_end_role (default, ubuntu2404) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2204) (pull_request) Successful in 38s
test / end_to_end_role (with_custom_flags, debian12) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2004) (pull_request) Successful in 39s
test / end_to_end_role (with_custom_flags, ubuntu2404) (pull_request) Successful in 38s
destroying/removing services should be handled separately, most likely by
the end user's custom code, to avoid data loss, etc...
2024-11-09 13:24:14 +01:00
f39e1f95d0
fix: handlers running in unpredictable ways
this patch adds support for in-role management of reload and restarts of the systemd service
it also adds support for ubuntu 24
2024-11-09 11:04:13 +01:00
d5af8a6886 feat(core): change namespace
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 46s
test / Molecule tests (default, ubuntu2204) (push) Successful in 46s
test / Molecule tests (default, debian12) (push) Successful in 52s
test / Molecule tests (with_custom_flags, ubuntu2004) (push) Successful in 1m3s
test / Molecule tests (with_custom_flags, ubuntu2204) (push) Successful in 32s
test / Molecule tests (with_custom_flags, debian12) (push) Successful in 33s
test / Molecule tests (default, ubuntu2004) (push) Successful in 32s
test / Molecule tests (with_custom_flags, debian11) (push) Successful in 31s
2024-02-05 22:38:49 +01:00
9b6bf1684e feat(tests): added custom tests for both vagrant and docker
All checks were successful
test / Linting (push) Successful in 10s
2023-12-10 18:25:43 +01:00
f813944d74 feat(tests): add testing for the default values on both docker and vagrant
All checks were successful
test / Linting (push) Successful in 34s
2023-12-10 17:32:52 +01:00
d15bce04de feat(readme): update documentation on variables
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 19:47:00 +01:00
562fc0215e feat(template): move flag formatting to filter_plugin
All checks were successful
test / Linting (push) Successful in 8s
2023-12-09 18:36:25 +01:00
b466741102 feat(template): test the type of data against list to enable passing integers or strings or lists
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 18:20:54 +01:00
2c275b9f1c feat(template): add support for simple string flags
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 17:47:35 +01:00
4725483303 feat(template): add support for passing all docker run arguments
All checks were successful
test / Linting (push) Successful in 9s
2023-12-09 16:46:13 +01:00
289d5b4c69 fix: linting
All checks were successful
test / Linting (push) Successful in 9s
2023-12-05 22:25:11 +01:00
8fe2351ebc feat(molecule): add default and default_vagrant tests 2023-12-05 19:23:38 +01:00
769b07c814 feat: make everything mostly work 2023-12-04 23:10:02 +01:00
Ansible Roles
caf3780f73 Initial commit 2023-12-03 14:39:24 +00:00