Update compose configuration

When running awx via docker-compose and using custom certificates (for LDAP auth or whatever else...), update-ca-trust has to be called afer starting the container to actually use new certificates (just as it is called when using docker to run - https://github.com/ansible/awx/blob/devel/installer/roles/local_docker/tasks/standalone.yml#L119-L120 ).
This commit is contained in:
impca 2019-02-13 15:39:52 +01:00 committed by GitHub
parent 06ff26752a
commit c29275315e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,3 +12,6 @@
- name: Start the containers
docker_service:
project_src: "{{ docker_compose_dir }}"
- name: Update CA trust in awx_web container
command: docker exec awx_web_1 '/usr/bin/update-ca-trust'