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

`ansible_connection` in `promote_p_to_pe`

parent 6e24a72e
No related branches found
No related tags found
1 merge request!189Fix/ansible connection private config
Pipeline #90276 passed
- name: Set variable to connect to nokia
ansible.builtin.set_fact:
ansible_network_os: nokia.sros.md
ansible_connection: netconf
ansible_connection: "{{ netconf_access[subscription.router.vendor].ansible_connection }}"
ansible_network_os: "{{ netconf_access[subscription.router.vendor].ansible_network_os }}"
- name: Check VPRN BGP summary
block:
......
......@@ -59,4 +59,4 @@
subscription.router.router_access_via_ts | ansible.builtin.bool
ansible.builtin.set_fact:
ansible_host: "{{ subscription.router.router_site.site_ts_address }}"
ansible_connection: netconf
ansible_connection: "{{ netconf_access[subscription.router.vendor].ansible_connection }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment