mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
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:
committed by
Mathieu Mallet
parent
e8eda28ce5
commit
dce3795e0c
@@ -156,3 +156,8 @@
|
|||||||
MEMCACHED_PORT: "11211"
|
MEMCACHED_PORT: "11211"
|
||||||
AWX_ADMIN_USER: "{{ admin_user|default('admin') }}"
|
AWX_ADMIN_USER: "{{ admin_user|default('admin') }}"
|
||||||
AWX_ADMIN_PASSWORD: "{{ admin_password|default('password') }}"
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user