From aabc7762f29524a9bbbd611ad1ed23ad88598483 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 28 May 2024 00:31:29 +0200 Subject: [PATCH] bitwarden --- playbooks/test_replace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/test_replace.yml b/playbooks/test_replace.yml index f2fe9d0..32d6b23 100644 --- a/playbooks/test_replace.yml +++ b/playbooks/test_replace.yml @@ -2,11 +2,11 @@ name: Sync mailu ignore_unreachable: false vars: - app_path: '25,143,465,993,995,587>192.168.77.106>dsadsad dsad dasdas-ddasd>TCP>443,80>192.168.77.106>>TCP>' + app_path: "25,143,465,993,995,587>192.168.77.106>dsadsad dsad dasdas-ddasd>TCP>443,80>192.168.77.106>>TCP>" tasks: - name: Print the gateway for each host when defined ansible.builtin.debug: msg: var is {{ app_path }} - set_fact: - app_path: '{{ app_path | regex_replace('(\\[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', '\\1dasdasdsad\\3') | regex_replace('(\\[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', '\\1ddadada\\3') }}' + app_path: "{{ app_path | regex_replace('(\\[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', '\\1dasdasdsad\\3') | regex_replace('(\\[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', '\\1ddadada\\3') }}" - debug: app_path \ No newline at end of file