diff --git a/geant/gap_ansible/roles/promote_p_to_pe/tasks/delete_default_routes.yaml b/geant/gap_ansible/roles/promote_p_to_pe/tasks/delete_default_routes.yaml deleted file mode 100644 index f3a7cc4359b5f8ae25fca0cbfc9fd396a8adea13..0000000000000000000000000000000000000000 --- a/geant/gap_ansible/roles/promote_p_to_pe/tasks/delete_default_routes.yaml +++ /dev/null @@ -1,21 +0,0 @@ -- 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 diff --git a/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml b/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml index 9c352c0ed74581f881cc4ae8a0b7fcf481680485..d7a7208af17663f62cc072d8ff04a0bd56cef407 100644 --- a/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml +++ b/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml @@ -56,10 +56,6 @@ when: verb in [ 'deploy_pe_base_config', 'update_sdp_mesh', 'deploy_routing_instances', 'delete_default_routes' ] 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 when: verb == "check_base_ris" loop: "{{ pe_vprns }}"