bastion discussion #3
alvarocurt
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is not 100% project-related, but reading the code of the role 'bastion' in the
pre.yml
playbook, I had a small concern for the bastion/proxy group:While it is indeed an ansible inventory group, it is used for the generation of the sshconfig files:
delegate_to: localhost
. If there are multiple bastions, this task is done multiple times (with same option due to idempotency, yes, but its innecessary). Maybe arun_once
option would be helpful, or a condition where the task only runs for bastion[0].Beta Was this translation helpful? Give feedback.
All reactions