update-ca-trust: Ensure CA trust is updated in awx_task container

Related #3010

Both awx_web and awx_task containers can have a volume mounted in
specified by the ca_trust_dir variable. Unfortunately only the
awx_web container's trust is updated. This patch makes sure the
awx_task container's trust is updated as well

Testing Done: ansible-playbook --syntax-check installer/install.yml

Signed-off-by: Mathieu Mallet <mmallet@digipok.io>
This commit is contained in:
Mathieu Mallet 2019-02-06 16:41:34 +00:00 committed by Mathieu Mallet
parent e8eda28ce5
commit dce3795e0c

View File

@ -156,3 +156,8 @@
MEMCACHED_PORT: "11211"
AWX_ADMIN_USER: "{{ admin_user|default('admin') }}"
AWX_ADMIN_PASSWORD: "{{ admin_password|default('password') }}"
register: awx_task_container
- name: Update CA trust in awx_task container
command: docker exec awx_task '/usr/bin/update-ca-trust'
when: awx_task_container.changed