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

remove unnecessary `delete_default_routes` tasklist

parent ca0e4898
No related branches found
No related tags found
1 merge request!162promote-p-to-pe role
Pipeline #88658 passed
This commit is part of merge request !162. Comments created here will be created in the context of that merge request.
- name: Delete default routes on "{{ inventory_hostname }}" [CHECK ONLY][NOKIA]
when: dry_run | ansible.builtin.bool
geant.gap_ansible.nokia_netconf_config:
format: xml
default_operation: merge
content: "{{ lookup('ansible.builtin.template', 'routers/{{ subscription.router.vendor }}/router/delete_default_static_routes.j2') }}"
commit: true
validate: true
diff: true
check_mode: true
- name: Delete default routes on "{{ inventory_hostname }}" [AND COMMIT][NOKIA]
when: not (dry_run | ansible.builtin.bool)
geant.gap_ansible.nokia_netconf_config:
format: xml
default_operation: merge
content: "{{ lookup('ansible.builtin.template', 'routers/{{ subscription.router.vendor }}/router/delete_default_static_routes.j2') }}"
commit: true
commit_comment: "{{ commit_comment }}"
diff: true
check_mode: false
...@@ -56,10 +56,6 @@ ...@@ -56,10 +56,6 @@
when: verb in [ 'deploy_pe_base_config', 'update_sdp_mesh', 'deploy_routing_instances', 'delete_default_routes' ] when: verb in [ 'deploy_pe_base_config', 'update_sdp_mesh', 'deploy_routing_instances', 'delete_default_routes' ]
ansible.builtin.include_tasks: deploy.yaml ansible.builtin.include_tasks: deploy.yaml
# - name: Include deletion of default static routes
# when: verb == "delete_default_routes"
# ansible.builtin.include_tasks: delete_default_routes.yaml
#
- name: Check VPRNs - name: Check VPRNs
when: verb == "check_base_ris" when: verb == "check_base_ris"
loop: "{{ pe_vprns }}" loop: "{{ pe_vprns }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment