Skip to content

Commit

Permalink
Fix swagger generation on rhel (ansible#14317) (ansible#14589)
Browse files Browse the repository at this point in the history
  • Loading branch information
obaranov authored and djyasin committed Nov 11, 2024
1 parent 328a7be commit 715b533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/docker-compose/ansible/roles/sources/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 715b533

Please sign in to comment.