Skip to content
Snippets Groups Projects

Feature/l2circuit create

Merged Aleksandr Kurbatov requested to merge feature/l2circuit-create into develop
Files
16
+ 18
0
- name: Manage L2circuits
hosts: all
gather_facts: false
tasks:
- name: Import group_vars/all
ansible.builtin.include_vars:
dir: /opt/ansible_inventory/group_vars/all
- name: Import standard variables for "{{ subscription.product.product_type }}/{{ subscription.layer_2_circuit_service_type | upper | replace(' ', '_') }}"
ansible.builtin.include_vars:
dir: /opt/ansible_inventory/geant_services/{{ subscription.product.product_type }}/{{ subscription.layer_2_circuit_service_type | upper | replace(' ', '_') }}
- name: Include l2circuit role
ansible.builtin.include_role:
name: l2circuits
loop: "{{ subscription.layer_2_circuit.layer_2_circuit_sides }}"
loop_control:
loop_var: l2c_side
Loading