mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
parent
94703ccf84
commit
3bcf46555d
@ -48,7 +48,7 @@
|
||||
vars:
|
||||
new_error_page:
|
||||
error_code: "{{ item | basename() | regex_replace('custom_(\\d+).html', '\\1') }}"
|
||||
web_path: "{{ item | regex_replace('^.*\/static', '/static') }}"
|
||||
web_path: "{{ item | regex_replace('^.*/static', '/static') }}"
|
||||
loop: "{{ lookup('ansible.builtin.fileglob', playbook_dir + '/../../../awx/static/custom_*.html', wantlist=True) }}"
|
||||
when: (item | basename()) is regex("custom_\d+\.html")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user