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
Skip non-management Packet IP addresses #48168
Merged
gundalow
merged 1 commit into
ansible:devel
from
dbnicholson:packet-inventory-management-only
Dec 20, 2018
Merged
Skip non-management Packet IP addresses #48168
gundalow
merged 1 commit into
ansible:devel
from
dbnicholson:packet-inventory-management-only
Dec 20, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @dbnicholson, thank you for submitting this pull-request! |
ansibot
added
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
c:inventory/contrib_script
community_review
In order to be merged, this PR must follow the community review workflow.
inventory
Inventory category
needs_triage
Needs a first human triage before being processed.
new_contributor
This PR is the first contribution by a new community member.
support:community
This issue/PR relates to code supported by the Ansible community.
labels
Nov 6, 2018
The test
|
ansibot
added
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
community_review
In order to be merged, this PR must follow the community review workflow.
labels
Nov 6, 2018
Non-management (elastic) IP addresses require manual configuration on the host as described in https://help.packet.net/article/54-elastic-ips. Skip those so that only the automatically configured management addresses are used. Otherwise, a non-routable address may be returned in the inventory.
dbnicholson
force-pushed
the
packet-inventory-management-only
branch
from
November 6, 2018 17:38
e6e0eb5
to
ef1834f
Compare
ansibot
added
community_review
In order to be merged, this PR must follow the community review workflow.
and removed
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Nov 6, 2018
jborean93
removed
the
needs_triage
Needs a first human triage before being processed.
label
Nov 8, 2018
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Nov 16, 2018
ansibot
removed
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Nov 24, 2018
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Dec 4, 2018
ansibot
removed
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Dec 12, 2018
gundalow
approved these changes
Dec 19, 2018
kbreit
pushed a commit
to kbreit/ansible
that referenced
this pull request
Jan 11, 2019
Non-management (elastic) IP addresses require manual configuration on the host as described in https://help.packet.net/article/54-elastic-ips. Skip those so that only the automatically configured management addresses are used. Otherwise, a non-routable address may be returned in the inventory.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
c:inventory/contrib_script
community_review
In order to be merged, this PR must follow the community review workflow.
inventory
Inventory category
new_contributor
This PR is the first contribution by a new community member.
support:community
This issue/PR relates to code supported by the Ansible community.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Non-management (elastic) IP addresses require manual configuration on
the host as described in https://help.packet.net/article/54-elastic-ips.
Skip those so that only the automatically configured management
addresses are used. Otherwise, a non-routable address may be returned in
the inventory.
SUMMARY
Fixes #48166.
ISSUE TYPE
COMPONENT NAME
contrib/inventory/packet_net.py
ANSIBLE VERSION
ADDITIONAL INFORMATION
Makes the packet.net dynamic inventory only include management addresses, which are automatically supported in packet and most likely to be routable.