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

Add option to use public_ip as hostname in inventory plugin #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martialblog
Copy link

Hi,

this would add the option to use the public_ip as a hostname in the inventory plugin.

Cheers,
Markus

@martialblog
Copy link
Author

I wasn't sure on how to write a test for that. I'd be happy to add a test if someone could give me a hint.

@rvalle
Copy link
Collaborator

rvalle commented Dec 12, 2022

how does this work with IPV6 as it is introduced in ACS 4.17.x?

@martialblog
Copy link
Author

I suppose it won't. I specifically named it "v4_public_ip" in order to introduce a v6_public_ip in the future...

@rvalle
Copy link
Collaborator

rvalle commented Dec 13, 2022

My question is that you are using instance.publicip and reexporting it as v4_public_ip.

In ACS 4.17 with IPV6 is it not possible that an IPV6 is returned as instance.public ip?

Just brainstorming, I have not reviewed the implementation or anything... but perhaps worth double checking...

@resmo resmo force-pushed the master branch 2 times, most recently from 2e1f31b to 52fcebc Compare December 2, 2024 07:52
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 this pull request may close these issues.

2 participants