summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOleksii Baranov <olebaran@redhat.com>2023-10-24 20:19:02 +0200
committerGitHub <noreply@github.com>2023-10-24 20:19:02 +0200
commit3bcf46555d611ae217081545e0544537bb9fa39f (patch)
tree4e3592e1e969e345ca9a00a74ca3d63208e2b8dc /tools
parentPip compile docsite requirements (#14449) (diff)
downloadawx-3bcf46555d611ae217081545e0544537bb9fa39f.tar.xz
awx-3bcf46555d611ae217081545e0544537bb9fa39f.zip
Fix swagger generation on rhel (#14317) (#14589)
Diffstat (limited to 'tools')
-rw-r--r--tools/docker-compose/ansible/roles/sources/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker-compose/ansible/roles/sources/tasks/main.yml b/tools/docker-compose/ansible/roles/sources/tasks/main.yml
index 417807f02b..c684a9f10c 100644
--- a/tools/docker-compose/ansible/roles/sources/tasks/main.yml
+++ b/tools/docker-compose/ansible/roles/sources/tasks/main.yml
@@ -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")