Skip to content

Commit

Permalink
feat: allow additional volumes for receptor container
Browse files Browse the repository at this point in the history
  • Loading branch information
fitbeard committed Dec 28, 2024
1 parent a2a36ca commit 3bf712a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/awx/templates/docker-compose-executor.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ services:
{% endif %}
- "{{ awx_directory }}/receptor.crt:/etc/receptor/tls/receptor.crt:ro"
- "{{ awx_directory }}/receptor.key:/etc/receptor/tls/receptor.key:ro"
{% if awx_receptor_additional_volumes is defined and awx_receptor_additional_volumes | length %}
{% for volume in awx_receptor_additional_volumes %}
- "{{ volume }}"
{% endfor %}
{% endif %}
{% if awx_ca_trust_dir is defined %}
- "{{ awx_ca_trust_dir }}:/etc/pki/ca-trust:ro"
{% endif %}
5 changes: 5 additions & 0 deletions roles/awx/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ services:
- "{{ awx_directory }}/work-public-key.pem:/etc/receptor/work_public_key.pem:ro"
- "{{ awx_directory }}/receptor.crt:/etc/receptor/tls/receptor.crt:ro"
- "{{ awx_directory }}/receptor.key:/etc/receptor/tls/receptor.key:ro"
{% if awx_receptor_additional_volumes is defined and awx_receptor_additional_volumes | length %}
{% for volume in awx_receptor_additional_volumes %}
- "{{ volume }}"
{% endfor %}
{% endif %}
{% if awx_ca_trust_dir is defined %}
- "{{ awx_ca_trust_dir }}:/etc/pki/ca-trust:ro"
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions roles/defaults/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ awx_cluster_node_system_uuid: ""
awx_node_role_type: control
# Must be one of ['info', 'debug']
awx_receptor_log_level: info
awx_receptor_additional_volumes: []
awx_peers: []
awx_peers_from_control_nodes: true

Expand Down

0 comments on commit 3bf712a

Please sign in to comment.