fix regex syntax
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2023-09-03 14:52:22 +02:00
parent c8fb290593
commit 4c84f84a22
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -17,7 +17,7 @@
- name: Set global umask - name: Set global umask
replace: replace:
path: "{{ item }}" path: "{{ item }}"
regexp: '^(?i)(?P<umask>\s+UMASK\s+).+' regexp: '(?i)^(?P<umask>\s+UMASK\s+).+'
replace: \g<umask>{{ users_global_umask }} replace: \g<umask>{{ users_global_umask }}
loop: "{{ __users_umask_files | json_query('results[?stat.exists].item') }}" loop: "{{ __users_umask_files | json_query('results[?stat.exists].item') }}"