Skip to content
Snippets Groups Projects

promote-p-to-pe role

Merged Aleksandr Kurbatov requested to merge feature/nat-666-p-to-pe into develop
2 files
+ 0
25
Compare changes
  • Side-by-side
  • Inline
Files
2
- 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
Loading