-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error in yaml file tools/docker-compose/ansible/roles/sources/tasks/main.yml #14317
Comments
Might be related to your version of ansible, does upgrading ansible help? you could also open a PR with your suggested code change, and we can test it further. |
This is my ansible version: To which version am I supposed to upgrade? I'd like to stick to the stable version coming with the rhel package. |
Co-authored-by: Oleksii Baranov <olebaran@redhat.com>
Please confirm the following
security@ansible.com
instead.)Bug Summary
Hi,
this is the error that ansible throw (via cli is the same) while running the command:
make docker-compose COMPOSE_UP_OPTS=-d
thank for your efforts
regards
AWX version
22.6.1
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
2.9.27
Operating system
RHEL 8
Web browser
No response
Steps to reproduce
following the procedure in your documentation (https://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md) the command:
make docker-compose COMPOSE_UP_OPTS=-d
throws the error reported above
Expected results
no yaml syntax error
Actual results
Additional information
removing the escapint slash before the first /static occurrence:
before
web_path: "{{ item | regex_replace('^./static', '/static') }}"
after
web_path: "{{ item | regex_replace('^./static', '/static') }}"
the procedure succeeds
The text was updated successfully, but these errors were encountered: