Skip to content

Commit

Permalink
Prevent 'changed' for 'Get running configuration'
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Sep 21, 2023
1 parent 4870a0f commit 5a0620c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions partition/roles/sonic/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
- name: Get running configuration
ansible.builtin.command: show runningconfiguration all
register: sonic_running_cfg_result
changed_when: false

- name: Parse running configuration
ansible.builtin.set_fact:
Expand Down

0 comments on commit 5a0620c

Please sign in to comment.