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

Merge branch 'trunks_update' into 'develop'

Trunks update

See merge request !107
parents 31bb869f 559aa885
No related branches found
No related tags found
1 merge request!107Trunks update
Pipeline #85741 passed
- name: Manage iptrunks playbook
hosts: all
# remote_user: "{{ gap_ansible_user }}"
remote_user: geant-ne-na-lab
# remote_user: geant-ne-na-lab
gather_facts: false
roles:
- Juniper.junos
......
- name: Manage iptrunks checks playbook
hosts: all
# remote_user: "{{ gap_ansible_user }}"
remote_user: geant-ne-na-lab
# remote_user: geant-ne-na-lab
gather_facts: false
roles:
- Juniper.junos
......
......@@ -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"
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment