mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Use merge operation for load configuration in junos modules (#28369)
* Change load configuration operation from replace to merge
This commit is contained in:
parent
bc66faa328
commit
ceef4f97ed
11 changed files with 12 additions and 10 deletions
|
@ -184,7 +184,7 @@ def main():
|
|||
diff = None
|
||||
with locked_config(module):
|
||||
for req in requests:
|
||||
diff = load_config(module, tostring(req), warnings, action='replace')
|
||||
diff = load_config(module, tostring(req), warnings, action='merge')
|
||||
|
||||
commit = not module.check_mode
|
||||
if diff:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue