From 5428ddbf57fbfd63b233acd61ff2deaba67d92d9 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 28 May 2024 00:26:30 +0200 Subject: [PATCH] bitwarden --- playbooks/test_replace.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playbooks/test_replace.yml b/playbooks/test_replace.yml index f365ed7..9fbaeb4 100644 --- a/playbooks/test_replace.yml +++ b/playbooks/test_replace.yml @@ -2,9 +2,8 @@ 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>' | regex_replace('(\\[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', '\\1dasdasdsad\\3') }}" - app_path2: "{{ app_path | regex_replace('(\\[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', '\\1ddadada\\3') }}" + app_path: "{{ '25,143,465,993,995,587>192.168.77.106>dsadsad dsad dasdas-ddasd>TCP>443,80>192.168.77.106>>TCP>' | 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')}}" tasks: - name: Print the gateway for each host when defined ansible.builtin.debug: - msg: var is {{ app_path2 }} \ No newline at end of file + msg: var is {{ app_path }} \ No newline at end of file