bitwarden

This commit is contained in:
jaydee 2024-05-28 02:22:11 +02:00
parent 17106891b3
commit 0dc4a68dc9

View File

@ -14,7 +14,7 @@
msg: "var is {{ ruleset.stdout }}"
- name: initialize variables
set_fact:
regexp: "\\1{{ new_ip_dest }}\\3"
regexp: "\\<1>{{ new_ip_dest }}\\3"
- set_fact:
app_path: "{{ ruleset.stdout | regex_replace('(\\<MAIL_SERVER\\>[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', regexp) | regex_replace('(\\<WEB_SERVER\\>[0-9,]{1,}\\>)([0-9.]{1,})(\\>[0-9a-zA-Z\\s-]{0,}\\>TCP\\>)', regexp) }}"
- name: Print the gateway for each host when defined