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

always compile the template

parent 09dabc6c
No related branches found
No related tags found
1 merge request!264Feature/nat 1146 edge port junos
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
ansible_connection: local ansible_connection: local
- name: Print the template in "{{ play_storage_path }}/edge_port_{{ verb }}.conf" - name: Print the template in "{{ play_storage_path }}/edge_port_{{ verb }}.conf"
when: verb == "create" when: verb in verbs
ansible.builtin.template: ansible.builtin.template:
src: "{{ router.vendor }}/edge_port_{{ verb }}.j2" src: "{{ router.vendor }}/edge_port_{{ verb }}.j2"
dest: "{{ play_storage_path }}/edge_port_{{ verb }}.conf" dest: "{{ play_storage_path }}/edge_port_{{ verb }}.conf"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment