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

Prevent edgeos_config from saving in check mode. #78

Conversation

AngusWarren
Copy link
Contributor

SUMMARY

This PR prevents configuration from being saved while running in check mode. This aligns edgeos_config's behaviour with other _config modules and with the intention of Ansible's check mode.

ISSUE TYPE

  • Bugfix Pull Request
COMPONENT NAME

edgeos_config

ADDITIONAL INFORMATION

Examples of other _command modules which avoid saving in check mode.
https://github.com/ansible-collections/arista.eos/blob/master/plugins/modules/eos_config.py
https://github.com/ansible-collections/cisco.asa/blob/master/plugins/modules/asa_config.py
https://github.com/ansible-collections/cisco.ios/blob/master/plugins/modules/ios_config.py

@AngusWarren AngusWarren marked this pull request as draft June 23, 2020 15:49
@AngusWarren AngusWarren marked this pull request as ready for review June 23, 2020 16:05
@felixfontein felixfontein changed the base branch from master to main July 3, 2020 11:55
@Qalthos Qalthos merged commit 5533edb into ansible-collections:main Jul 7, 2020
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