Skip to content
Snippets Groups Projects
Commit 2b09d888 authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

Update edge_port/tasks/deploy to use filter_syslog plugin

parent b9201c5a
No related branches found
No related tags found
1 merge request!277Add a custom callback plugin for managing logs
Pipeline #95519 passed
...@@ -14,6 +14,15 @@ ...@@ -14,6 +14,15 @@
diff: true diff: true
register: output register: output
check_mode: true check_mode: true
tags: [print_action]
- name: Fail if there is any diff
ansible.builtin.fail:
msg: Base config drift detected!!!
when: >
output.changed | ansible.builtin.bool
and
is_verification_workflow | ansible.builtin.bool
- name: Config deploy [CHECK ONLY][JUNIPER] - name: Config deploy [CHECK ONLY][JUNIPER]
when: > when: >
...@@ -28,6 +37,11 @@ ...@@ -28,6 +37,11 @@
diff: true diff: true
register: output register: output
# - name: Display the output
# ansible.builtin.debug:
# msg: "{{ output }}"
# tags: [print_action]
- name: Fail if there is any diff - name: Fail if there is any diff
ansible.builtin.fail: ansible.builtin.fail:
msg: Base config drift detected!!! msg: Base config drift detected!!!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment