Skip to content

Commit

Permalink
Fix swagger generation on rhel (ansible#14317)
Browse files Browse the repository at this point in the history
  • Loading branch information
obaranov committed Oct 20, 2023
1 parent bcefcd8 commit bcd203c
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 bcd203c

Please sign in to comment.