mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
Merge pull request #5042 from craph/devel
Improve usage of ssl_certificate in local_docker Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -130,12 +130,6 @@
|
|||||||
mode: '0700'
|
mode: '0700'
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
- name: Stage nginx.conf
|
|
||||||
template:
|
|
||||||
src: nginx.conf.j2
|
|
||||||
dest: "{{ docker_base_path }}/nginx.conf"
|
|
||||||
delegate_to: localhost
|
|
||||||
|
|
||||||
- name: Stage supervisor.conf
|
- name: Stage supervisor.conf
|
||||||
copy:
|
copy:
|
||||||
src: supervisor.conf
|
src: supervisor.conf
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ COPY {{ awx_sdist_file }} /tmp/{{ awx_sdist_file }}
|
|||||||
RUN OFFICIAL=yes /var/lib/awx/venv/awx/bin/pip install /tmp/{{ awx_sdist_file }}
|
RUN OFFICIAL=yes /var/lib/awx/venv/awx/bin/pip install /tmp/{{ awx_sdist_file }}
|
||||||
|
|
||||||
ADD settings.py /etc/tower/settings.py
|
ADD settings.py /etc/tower/settings.py
|
||||||
ADD nginx.conf /etc/nginx/nginx.conf
|
|
||||||
ADD supervisor.conf /supervisor.conf
|
ADD supervisor.conf /supervisor.conf
|
||||||
ADD supervisor_task.conf /supervisor_task.conf
|
ADD supervisor_task.conf /supervisor_task.conf
|
||||||
ADD launch_awx.sh /usr/bin/launch_awx.sh
|
ADD launch_awx.sh /usr/bin/launch_awx.sh
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
- environment.sh
|
- environment.sh
|
||||||
- credentials.py
|
- credentials.py
|
||||||
- docker-compose.yml
|
- docker-compose.yml
|
||||||
|
- nginx.conf
|
||||||
register: awx_compose_config
|
register: awx_compose_config
|
||||||
|
|
||||||
- name: Render SECRET_KEY file
|
- name: Render SECRET_KEY file
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ services:
|
|||||||
- "{{ docker_compose_dir }}/SECRET_KEY:/etc/tower/SECRET_KEY"
|
- "{{ docker_compose_dir }}/SECRET_KEY:/etc/tower/SECRET_KEY"
|
||||||
- "{{ docker_compose_dir }}/environment.sh:/etc/tower/conf.d/environment.sh"
|
- "{{ docker_compose_dir }}/environment.sh:/etc/tower/conf.d/environment.sh"
|
||||||
- "{{ docker_compose_dir }}/credentials.py:/etc/tower/conf.d/credentials.py"
|
- "{{ docker_compose_dir }}/credentials.py:/etc/tower/conf.d/credentials.py"
|
||||||
|
- "{{ docker_compose_dir }}/nginx.conf:/etc/nginx/nginx.conf:ro"
|
||||||
{% if project_data_dir is defined %}
|
{% if project_data_dir is defined %}
|
||||||
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
|
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user