mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user