From 6ea74351882b77effb2247c9b20721699daa80c6 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Tue, 28 May 2024 12:27:50 +0200 Subject: [PATCH] issue #69 fix encryption-algorithm-option reset --- tasks/ipsecphase2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/ipsecphase2.yml b/tasks/ipsecphase2.yml index b65ff89..8bb628b 100644 --- a/tasks/ipsecphase2.yml +++ b/tasks/ipsecphase2.yml @@ -140,7 +140,7 @@ delegate_to: localhost community.general.xml: path: "{{ local_config_path }}" - xpath: "/opnsense/ipsec/phase2[ikeid='{{ ikeid }}' and uniqid='{{ uniqid }}']/encryption-algorithm-option" + xpath: "/opnsense/ipsec/phase2[ikeid={{ ikeid }} and uniqid={{ uniqid }}]/encryption-algorithm-option" state: absent pretty_print: true when: encalgopt_reset | default(false)