diff --git a/templates/awx.yml.j2 b/templates/awx.yml.j2 index d518418..4e4c3c2 100644 --- a/templates/awx.yml.j2 +++ b/templates/awx.yml.j2 @@ -105,7 +105,7 @@ spec: - command: - /bin/sh - -c - - /usr/bin/launch_awx.sh + - "/bin/chown -R nginx:root /var/lib/nginx && /usr/bin/launch_awx.sh" env: - name: AWX_ADMIN_USER value: {{ awx_admin_user }} diff --git a/templates/settings.py.j2 b/templates/settings.py.j2 index a74006e..917eb17 100644 --- a/templates/settings.py.j2 +++ b/templates/settings.py.j2 @@ -83,3 +83,4 @@ REDHAT_CANDLEPIN_HOST = "{{ candlepin_host | default(omit) }}" REDHAT_CANDLEPIN_VERIFY = "{{ candlepin_verify | default(omit) }}" BROADCAST_WEBSOCKET_PORT = 8052 BROADCAST_WEBSOCKET_PROTOCOL = 'http' +AWX_ANSIBLE_COLLECTIONS_PATHS = '/var/lib/awx/vendor/awx_ansible_collections'