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

Check for subnet changes and redeclare network if True #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

velis74
Copy link

@velis74 velis74 commented Jan 31, 2020

A proposal enhancement for #25

I had to create a filter to convert from get_xml's XML format into dict. facts and info did not return complete network info and were thus not useful.

Please forgive the when statements. I have no idea whether I could have done them nicer. The principal issue with them is of course fail-safe reading of possibly missing items from dict.

Edit: referenced the wrong issue, sorry.

@velis74
Copy link
Author

velis74 commented Jan 31, 2020

Eh, the beauty checks fail: could you please review & comment the code as-is before I check them?

@velis74
Copy link
Author

velis74 commented Feb 1, 2020

Apologies for another commit: I'm very new to ansible and didn't realise that it used my local plugin instead of the role's one (which wasn't updated)

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.

None yet

1 participant