Skip to content
Snippets Groups Projects
Verified Commit 4a22b292 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

add subscription object when running iBGP playbooks

parent 95805e02
No related branches found
No related tags found
1 merge request!126Add iBGP workflow and LibreNMS client
......@@ -120,6 +120,7 @@ def add_all_pe_to_p_dry(
"""Perform a dry run of adding the list of all PE routers to the new P router."""
extra_vars = {
"dry_run": True,
"subscription": subscription,
"pe_router_list": {
router.router.router_fqdn: {
"lo4": router.router.router_lo_ipv4_address,
......@@ -147,6 +148,7 @@ def add_all_pe_to_p_real(
"""Add the list of all PE routers to the new P router."""
extra_vars = {
"dry_run": False,
"subscription": subscription,
"pe_router_list": {
router.router.router_fqdn: {
"lo4": router.router.router_lo_ipv4_address,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment