The Wayback Machine - https://web.archive.org/web/20201116061808/https://github.com/ansible/awx/issues/8122
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the value of "Execution Node" as a variable when running a job from Ansible Tower. #8122

Open
lucas-benedito opened this issue Sep 10, 2020 · 2 comments

Comments

@lucas-benedito
Copy link

@lucas-benedito lucas-benedito commented Sep 10, 2020

ISSUE TYPE
  • Feature Idea
SUMMARY

Expose the value of "Execution Node" as a variable when running a job from Ansible Tower.

Example use-case: Secret lookup which provides access token based on the execution node ip address

@wenottingham
Copy link
Member

@wenottingham wenottingham commented Sep 10, 2020

Hm. I get the idea, but basing it off the IP of the execution node is going to get very messy in the context of execution environments and container groups.

@yashfaizan
Copy link

@yashfaizan yashfaizan commented Sep 24, 2020

the workaround would be store the execution node ip or fqdn from gather facts to a variable and expose that variable using set_stats or add it as a host variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.