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

Update policy_options role to work with VRF update tasks

parent c42573c1
No related branches found
No related tags found
1 merge request!282Fix/vrf update
Pipeline #95243 passed
--- ---
# tasks file for policy_options # tasks file for policy_options
- name: Load Standard Policy Options for creation of VRF {{ subscription.vrf.vrf_name }}
when: gso_product_type == 'VRF'
ansible.builtin.include_tasks: merge_create_vrf_standard_vars.yaml
- name: Include preparation of NREN policy_options vars - name: Include preparation of NREN policy_options vars
when: gso_product_type in inv_product_types_nren.keys() | list when: gso_product_type != 'VRF'
and gso_product_type in inv_product_types_nren.keys() | list
ansible.builtin.include_tasks: merge_vars_nren.yaml ansible.builtin.include_tasks: merge_vars_nren.yaml
- name: Include preparation of RandE Peer policy_options vars - name: Include preparation of RandE Peer policy_options vars
when: gso_product_type in inv_product_types_rande.keys() | list when: gso_product_type != 'VRF'
and gso_product_type in inv_product_types_rande.keys() | list
ansible.builtin.include_tasks: merge_vars_rande.yaml ansible.builtin.include_tasks: merge_vars_rande.yaml
- name: Compile templates - name: Compile templates
......
...@@ -67,10 +67,3 @@ ...@@ -67,10 +67,3 @@
when: > when: >
subscription.product.product_type == "VRF" subscription.product.product_type == "VRF"
ansible.builtin.include_tasks: merge_create_vrf_standard_vars.yaml ansible.builtin.include_tasks: merge_create_vrf_standard_vars.yaml
- name: Compile templates
ansible.builtin.include_tasks: compile.yaml
- name: Deploy templates if standalone run
when: is_standalone_run | ansible.builtin.bool
ansible.builtin.include_tasks: deploy_po.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment