mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Use merge operation for load configuration in junos modules (#28369)
* Change load configuration operation from replace to merge
This commit is contained in:
@@ -145,7 +145,7 @@ def main():
|
||||
ele = map_obj_to_ele(module, want, top, param=item)
|
||||
|
||||
with locked_config(module):
|
||||
diff = load_config(module, tostring(ele), warnings, action='replace')
|
||||
diff = load_config(module, tostring(ele), warnings, action='merge')
|
||||
|
||||
commit = not module.check_mode
|
||||
if diff:
|
||||
|
||||
Reference in New Issue
Block a user