From 97c28be1ca29952544bfed771bbb49aebb451161 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 27 May 2024 23:49:46 +0200 Subject: [PATCH] bitwarden --- playbooks/test_replace.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/playbooks/test_replace.yml b/playbooks/test_replace.yml index e9d3d04..ff13589 100644 --- a/playbooks/test_replace.yml +++ b/playbooks/test_replace.yml @@ -1,6 +1,9 @@ - hosts: nas name: Sync mailu ignore_unreachable: false + vars: + app_path: "{{ 'localhost:80' | regex_replace('^(?P.+):(?P\\d+)$', '\\g, \\g') }}" tasks: - - name: Change owner - commalocal: "{{ 'localhost:80' | regex_replace('^(?P.+):(?P\\d+)$', '\\g, \\g') }}" \ No newline at end of file + - name: Print the gateway for each host when defined + ansible.builtin.debug: + msg: var is "{{ app_path }}" \ No newline at end of file