From 559aa88553b6a70b58489a68954917852b72e74b Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <aleksandr.kurbatov@GL1342.local> Date: Thu, 15 Feb 2024 23:38:38 +0000 Subject: [PATCH] Juniper.junos -> junipernetworks.junos --- .../roles/iptrunk_checks/tasks/check_isis.yaml | 8 ++++---- .../roles/iptrunk_checks/tasks/check_trunk_interface.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/geant/gap_ansible/roles/iptrunk_checks/tasks/check_isis.yaml b/geant/gap_ansible/roles/iptrunk_checks/tasks/check_isis.yaml index 89b664a1..975c437e 100644 --- a/geant/gap_ansible/roles/iptrunk_checks/tasks/check_isis.yaml +++ b/geant/gap_ansible/roles/iptrunk_checks/tasks/check_isis.yaml @@ -2,19 +2,19 @@ when: local_side.iptrunk_side_node.vendor == "juniper" block: - name: Get status of ISIS - juniper_junos_command: + junipernetworks.junos.junos_command: commands: - show isis adjacency - show isis interface "{{ local_side.iptrunk_side_ae_iface }}".0 register: response - - name: Show status of ISIS djacencies + - name: Show status of ISIS adjacencies ansible.builtin.debug: - msg: "{{ response.results[0].stdout_lines }}" + msg: "{{ response.stdout_lines[0] }}" - name: Show status of ISIS interfaces ansible.builtin.debug: - msg: "{{ response.results[1].stdout_lines }}" + msg: "{{ response.stdout_lines[1] }}" - name: Nokia ISIS check when: local_side.iptrunk_side_node.vendor == "nokia" diff --git a/geant/gap_ansible/roles/iptrunk_checks/tasks/check_trunk_interface.yaml b/geant/gap_ansible/roles/iptrunk_checks/tasks/check_trunk_interface.yaml index 324ae18d..7465dcd9 100644 --- a/geant/gap_ansible/roles/iptrunk_checks/tasks/check_trunk_interface.yaml +++ b/geant/gap_ansible/roles/iptrunk_checks/tasks/check_trunk_interface.yaml @@ -2,8 +2,8 @@ when: local_side.iptrunk_side_node.vendor == "juniper" block: - name: Show LACP status - juniper_junos_command: - command: "show lacp interface {{ local_side.iptrunk_side_ae_iface }}" + junipernetworks.junos.junos_command: + commands: "show lacp interface {{ local_side.iptrunk_side_ae_iface }}" register: response - name: Print the LACP status. -- GitLab