diff --git a/playbooks/test_replace.yml b/playbooks/test_replace.yml new file mode 100644 index 0000000..e9d3d04 --- /dev/null +++ b/playbooks/test_replace.yml @@ -0,0 +1,6 @@ +- hosts: nas + name: Sync mailu + ignore_unreachable: false + tasks: + - name: Change owner + commalocal: "{{ 'localhost:80' | regex_replace('^(?P.+):(?P\\d+)$', '\\g, \\g') }}" \ No newline at end of file