Closed skwde closed 1 year ago
Turns out, undefined variable isn't causing an error but simply quitting silently. I added the missing variable definition user_list
above.
The name of the issue stems from my lack of understanding of the difference between:
ssh_config_file
and
ssh_drop_in_name
with __ssh_drop_in_template
which caused me some headache earlier.
Ok, I keep getting confused by the behavior of the role. Now the output is again different. I adjusted playbooks + output above.
Setting ssh: {}
to generate the default solves the issue
When using drop-in names the behaviour is unexpected:
This generates the default
~/src/tests/ssh/ssh_config_RHEL8_test
including the drop-in partand an
~/src/tests/ssh/ssh_config.d_RHEL8_test/99-some-test.conf
which is correct.
So it seems that the
ssh
variable defined in the second call is already available in the first call...Is there a way around this?