Juniper / ansible-junos-stdlib

Junos modules for Ansible
Apache License 2.0
305 stars 158 forks source link

Introduced commit_sync and commit_force_sync #597

Closed dineshbaburam91 closed 2 years ago

dineshbaburam91 commented 2 years ago

Introduced "commit_sync" and "commit_force_sync" under juniper.device.config module

    - name: "Confirm the commit with a commit check"
      juniper.device.config:
        check: true
        diff: false
        comment: "Juniper Network"
        commit_force_sync: True
      register: response
    - name: "Confirm the commit with a commit check"
      juniper.device.config:
        check: true
        diff: false
        comment: "Juniper Network"
        commit_sync: True
      register: response