mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Add 'ca_trust_dir' variable to allow Custom CA sharing between host and containers
This commit is contained in:
@@ -15,10 +15,16 @@ services:
|
||||
hostname: awxweb
|
||||
user: root
|
||||
restart: unless-stopped
|
||||
{% if project_data_dir is defined %}
|
||||
{% if (project_data_dir is defined) or (ca_trust_dir is defined) %}
|
||||
volumes:
|
||||
{% endif %}
|
||||
{% if project_data_dir is defined %}
|
||||
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if ca_trust_dir is defined %}
|
||||
- "{{ ca_trust_dir +':/etc/pki/ca-trust:ro' }}"
|
||||
{% endif %}
|
||||
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) -%}
|
||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||
dns_search:
|
||||
|
||||
Reference in New Issue
Block a user