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

Merge branch 'fix/iptrunk_checks' into 'develop'

iptrunk_checks: disable optical diff comparison

See merge request !244
parents eaae88e7 c9b52ef5
Branches
Tags
1 merge request!244iptrunk_checks: disable optical diff comparison
Pipeline #92523 passed
......@@ -113,7 +113,7 @@
ansible.builtin.file:
path: "{{ opt_checks_dir }}"
state: directory
mode: '0755'
mode: "0755"
delegate_to: localhost
- name: Create file for the optical check results
......@@ -121,7 +121,7 @@
ansible.builtin.file:
path: "{{ opt_checks_file }}"
state: touch
mode: '0644'
mode: "0644"
delegate_to: localhost
- name: Create var for the result storage
......@@ -139,7 +139,7 @@
- name: Write result to the "{{ opt_checks_file }}" file
when: check == "optical_pre" or check == "optical_post"
ansible.builtin.copy:
mode: '0644'
mode: "0644"
content: "{{ ae_result | to_nice_yaml }}"
dest: "{{ opt_checks_file }}"
......@@ -147,12 +147,11 @@
when: check == "optical_pre" or check == "optical_post"
ansible.builtin.debug:
msg: "{{ ae_result }}"
- name: Produce the diff of optical check results on the "remaining" side
when: >-
check == "optical_post"
and
new_node is defined
and
inventory_hostname != new_node.router.router_fqdn
ansible.builtin.include_tasks: diff_optical_results.yaml
# - name: Produce the diff of optical check results on the "remaining" side
# when: >-
# check == "optical_post"
# and
# new_node is defined
# and
# inventory_hostname != new_node.router.router_fqdn
# ansible.builtin.include_tasks: diff_optical_results.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment