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

update playbooks path in edge_port

parent 4de5ba60
No related branches found
No related tags found
1 merge request!286Add Edge Port, GÉANT IP and IAS products
This commit is part of merge request !286. Comments created here will be created in the context of that merge request.
......@@ -197,7 +197,7 @@ def create_edge_port_dry(
}
return {
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]: None}}},
"extra_vars": extra_vars,
}
......@@ -217,7 +217,7 @@ def create_edge_port_real(
}
return {
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]: None}}},
"extra_vars": extra_vars,
}
......
......@@ -201,7 +201,7 @@ def update_edge_port_dry(
}
return {
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]}}},
"extra_vars": extra_vars,
"subscription": subscription,
......@@ -226,7 +226,7 @@ def update_edge_port_real(
return {
"subscription": subscription,
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]: None}}},
"extra_vars": extra_vars,
}
......
......@@ -39,7 +39,7 @@ def remove_edge_port_dry(subscription: dict[str, Any], tt_number: str, process_i
return {
"subscription": subscription,
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]: None}}},
"extra_vars": extra_vars,
}
......@@ -57,7 +57,7 @@ def remove_edge_port_real(subscription: dict[str, Any], tt_number: str, process_
return {
"subscription": subscription,
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]: None}}},
"extra_vars": extra_vars,
}
......
......@@ -59,7 +59,7 @@ def verify_netbox_entries(subscription: EdgePort) -> None:
def verify_base_config(subscription: dict[str, Any]) -> LSOState:
"""Workflow step for running a playbook that checks whether base config has drifted."""
return {
"playbook_name": "edge_port.yaml",
"playbook_name": "gap_ansible/playbooks/edge_port.yaml",
"inventory": {"all": {"hosts": {subscription["edge_port"]["node"]["router_fqdn"]: None}}},
"extra_vars": {
"dry_run": True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment