This PR address #213 - specifically, any templated variables within the rke2_config variable will not be rendered correctly when written to the config.yaml file. Based on the known issue when using update_fact, the best solution is to use set_fact to render all templated variables.
Which issue(s) this PR fixes:
Fixes #213
Testing
I performed two tests, each with the following rke2_config:
What type of PR is this?
(REQUIRED)
What this PR does / why we need it:
This PR address #213 - specifically, any templated variables within the
rke2_config
variable will not be rendered correctly when written to theconfig.yaml
file. Based on the known issue when usingupdate_fact
, the best solution is to useset_fact
to render all templated variables.Which issue(s) this PR fixes:
Fixes #213
Testing
I performed two tests, each with the following
rke2_config
:Test 1: using
main
branchconfig.yaml
contained:rke2-server
service failed to startTest 2: using the branch in this PR
config.yaml
contained:rke2-server
service started successfullyRelease Notes
None