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

Juniper.junos -> junipernetworks.junos

parent d847969a
Branches
Tags
1 merge request!107Trunks update
Pipeline #85740 passed
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
when: local_side.iptrunk_side_node.vendor == "juniper" when: local_side.iptrunk_side_node.vendor == "juniper"
block: block:
- name: Get status of ISIS - name: Get status of ISIS
juniper_junos_command: junipernetworks.junos.junos_command:
commands: commands:
- show isis adjacency - show isis adjacency
- show isis interface "{{ local_side.iptrunk_side_ae_iface }}".0 - show isis interface "{{ local_side.iptrunk_side_ae_iface }}".0
register: response register: response
- name: Show status of ISIS djacencies - name: Show status of ISIS adjacencies
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ response.results[0].stdout_lines }}" msg: "{{ response.stdout_lines[0] }}"
- name: Show status of ISIS interfaces - name: Show status of ISIS interfaces
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ response.results[1].stdout_lines }}" msg: "{{ response.stdout_lines[1] }}"
- name: Nokia ISIS check - name: Nokia ISIS check
when: local_side.iptrunk_side_node.vendor == "nokia" when: local_side.iptrunk_side_node.vendor == "nokia"
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
when: local_side.iptrunk_side_node.vendor == "juniper" when: local_side.iptrunk_side_node.vendor == "juniper"
block: block:
- name: Show LACP status - name: Show LACP status
juniper_junos_command: junipernetworks.junos.junos_command:
command: "show lacp interface {{ local_side.iptrunk_side_ae_iface }}" commands: "show lacp interface {{ local_side.iptrunk_side_ae_iface }}"
register: response register: response
- name: Print the LACP status. - name: Print the LACP status.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment