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

Inventory plugin: Allow token to be provided through extra-vars #181

Closed
n00b42 opened this issue Jan 27, 2023 · 0 comments · Fixed by #156
Closed

Inventory plugin: Allow token to be provided through extra-vars #181

n00b42 opened this issue Jan 27, 2023 · 0 comments · Fixed by #156

Comments

@n00b42
Copy link
Contributor

n00b42 commented Jan 27, 2023

SUMMARY

Allow token to be provided through extra-vars.
Allows "dynamic" insertion of the token without changing the environment variables

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

hetzner.hcloud.hcloud

ADDITIONAL INFORMATION

See PR in #156

Inventory

plugin: hcloud
token: "{{ hetzner_apitoken }}"

Usage in ansible call: --extra-vars "hetzner_apitoken=123123123123"

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

Successfully merging a pull request may close this issue.

1 participant