From 48ae9c6be8b6d964f3094ce25b41de044f9f805c Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <aleksandr.kurbatov@GL1342.local> Date: Mon, 17 Jun 2024 13:29:18 +0100 Subject: [PATCH] not dry_run fixed in iptrun/remove_trunk for juniper --- geant/gap_ansible/roles/iptrunk/tasks/remove_trunk.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geant/gap_ansible/roles/iptrunk/tasks/remove_trunk.yaml b/geant/gap_ansible/roles/iptrunk/tasks/remove_trunk.yaml index 9c1d637c..590a534b 100644 --- a/geant/gap_ansible/roles/iptrunk/tasks/remove_trunk.yaml +++ b/geant/gap_ansible/roles/iptrunk/tasks/remove_trunk.yaml @@ -20,7 +20,7 @@ diff: true when: verb == "terminate" and - dry_run | ansible.builtin.bool and + not ( dry_run | ansible.builtin.bool ) and local_side.iptrunk_side_node.vendor == "juniper" - name: Remove "{{ config_object }}" on "{{ inventory_hostname }}" [CHECK ONLY][NOKIA] -- GitLab