mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
@@ -48,7 +48,7 @@
|
|||||||
vars:
|
vars:
|
||||||
new_error_page:
|
new_error_page:
|
||||||
error_code: "{{ item | basename() | regex_replace('custom_(\\d+).html', '\\1') }}"
|
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) }}"
|
loop: "{{ lookup('ansible.builtin.fileglob', playbook_dir + '/../../../awx/static/custom_*.html', wantlist=True) }}"
|
||||||
when: (item | basename()) is regex("custom_\d+\.html")
|
when: (item | basename()) is regex("custom_\d+\.html")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user