1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

junos_config documentation missing "update" choice (#51299)

* Update junos_config.py

The current junos_config module documentation only lists "merge","override" and "replace" as update parameter choices. Looking into junos_python.py "update" is another option which is really helpful and in my opinion the most needed option.

'''
update=dict(default='merge', choices=['merge', 'override', 'replace', 'update'])
'''

+label: docsite_pr

* Fixup Update junos_config.py

The current junos_config module documentation only lists "merge","override" and "replace" as update parameter choices. Looking into junos_python.py "update" is another option which is really helpful and in my opinion the most needed option.

'''
update=dict(default='merge', choices=['merge', 'override', 'replace', 'update'])
'''

Co-Authored-By: crab86 <sgesenhoff@gmail.com>
This commit is contained in:
Sebastian 2019-01-30 16:12:17 +01:00 committed by Nathaniel Case
parent 8eff4cae10
commit 48107ac212
2 changed files with 7 additions and 2 deletions

View file

@ -113,8 +113,14 @@ options:
it with the loaded configuration.
C(replace) substitutes each hierarchy level in the loaded configuration
for the corresponding level.
C(update) is similar to the override option. The new configuration completely
replaces the existing configuration. The difference comes when the configuration
is later committed. This option performs a 'diff' between the new candidate
configuration and the existing committed configuration. It then only notifies
system processes responsible for the changed portions of the configuration, and
only marks the actual configuration changes as 'changed'.
default: merge
choices: ['merge', 'override', 'replace']
choices: ['merge', 'override', 'replace', 'update']
version_added: "2.3"
confirm_commit:
description:

View file

@ -615,7 +615,6 @@ lib/ansible/modules/network/ironware/ironware_command.py E323
lib/ansible/modules/network/ironware/ironware_config.py E323
lib/ansible/modules/network/ironware/ironware_facts.py E323
lib/ansible/modules/network/junos/junos_command.py E324
lib/ansible/modules/network/junos/junos_config.py E326
lib/ansible/modules/network/junos/junos_interface.py E324
lib/ansible/modules/network/junos/junos_linkagg.py E324
lib/ansible/modules/network/junos/junos_logging.py E322