1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
Joey Zhang d2ee51253d
nmcli: add idempotent support for any kinds of connections (#562)
* nmcli: add idemptent support for any kinds of connections

Fixes #481: nmcli reports changed status even if nothing needs to change
- Implement show_connection() to retrieve connection profile from command line
- Parse integer enumeration values in show_connection()
- Convert 'bond.options' to alias shortcuts
- Modify connection only if changes are detected
- Support generic alias in during the property comparison

* nmcli: add idemptent support for any kinds of connections

Add mock object for modification cases when connection state changes

* nmcli: add idempotent support for any kinds of connections

- Add more test cases to check idempotent for each type of connections
- Verify 'changed' and 'failed' in the result of each test
- Append prefixlen for 'ip4' values in test data
- Fix the incorrect 'return_value' of execute_command() in previous mockers
- Ignore the empty string in _compare_conn_params()
- Fix the property key mapping of 'bridge-port.hairpin-mode' for bridge-slave
- Add 'override_options' in the result output for playboot debug

* nmcli: add idempotent support for any kinds of connections

Fix pep8 issues in test_nmcli.py: Comparison to False should be 'not expr'

* nmcli: add idempotent support for any kinds of connections

Support setting 'ipv4.method' or 'ipv6.method' via nmcli if the configuration method changes

* nmcli: add idempotent support for any kinds of connections

Simplify the if statements in show_connection() according to vlours's advice

* nmcli: add idempotent support for any kinds of connections

Fix the list argument comparison method with multiple values.

* nmcli: add idempotent support for any kinds of connections

Use ansible --diff option output to show detailed changes instead of a private return value.

* nmcli: add idempotent support for any kinds of connections

Add changelog fragment for bugfix.
2020-06-30 05:43:39 +02:00
..
.empty Add folder for changelog fragments. (#72) 2020-03-30 12:49:40 +02:00
303-consul_kv-fix-env-variables-handling.yaml Fix for lookup/consul_kv environment varibles handling (#303) 2020-06-23 14:08:38 +02:00
442-log_plays-add_playbook_task_name_and_action.yml [log_plays] Add playbook, task name and action (#442) 2020-06-29 11:31:07 +03:00
547-start-service-condition.yaml docker_compose: dont start the service if parameter stopped is true (#547) 2020-06-26 08:30:40 +02:00
548_apk.yml apk: Add no-cache option (#548) 2020-06-23 14:10:05 +02:00
560-pkgng-add-stdout-and-stderr.yaml pkgng: Add stdout and stderr to response object (#560) 2020-06-23 19:55:40 +02:00
562-nmcli-fix-idempotency.yaml nmcli: add idempotent support for any kinds of connections (#562) 2020-06-30 05:43:39 +02:00
564-docker_container_use_config_macaddress_by_default.yaml use Config MacAddress by default instead of Networks (#564) 2020-06-30 05:40:43 +02:00
568_packaging.yml Reduce ignored packaging sanity tests (#568) 2020-06-26 15:17:11 +02:00
596-splunk-add-option-to-not-validate-cert.yaml [splunk] Add an option to not fail when the certificate is not valid (#596) 2020-06-29 16:14:44 +02:00
33979-xfs_growfs.yml filesystem.py: fix xfs growfs (#137) 2020-06-23 14:04:55 +01:00
55903_kubevirt.yml kubevirt: Add aliases 'interface_name' for 'network_name' (#536) 2020-06-29 07:37:41 +02:00
airbrake_deployment_add_version.yml airbrake_deployment: Add version param (#583) 2020-06-26 23:05:55 +02:00
aix_filesystem-module_util-routing-issue.yml aix_filesystem - fix module_util pathing issue for ansible 2.9 (#567) 2020-06-23 13:42:32 +02:00
logicmonitor-removal.yml Deprecate logicmonitor and logicmonitor_facts (#541) 2020-06-23 15:55:59 +02:00
parted_negative_numbers.yml parted: Allow passing negative numbers to specify partition boundary relative to disk end (#129) 2020-06-23 14:02:35 +02:00