diff --git a/installer/local_docker/tasks/main.yml b/installer/local_docker/tasks/main.yml index f30bed7d28..60def89d95 100644 --- a/installer/local_docker/tasks/main.yml +++ b/installer/local_docker/tasks/main.yml @@ -99,7 +99,7 @@ docker_container: name: postgres state: started - restart_policy: always + restart_policy: unless-stopped image: postgres:9.6 volumes: - "{{ postgres_data_dir }}:/var/lib/postgresql/data:Z" @@ -114,7 +114,7 @@ docker_container: name: rabbitmq state: started - restart_policy: always + restart_policy: unless-stopped image: rabbitmq:3 env: RABBITMQ_DEFAULT_VHOST: "awx" @@ -124,7 +124,7 @@ docker_container: name: memcached state: started - restart_policy: always + restart_policy: unless-stopped image: memcached:alpine - name: Wait for postgres and rabbitmq to activate @@ -172,7 +172,7 @@ docker_container: name: awx_web state: started - restart_policy: always + restart_policy: unless-stopped image: "{{ awx_web_docker_actual_image }}:{{ awx_version }}" user: root ports: @@ -198,7 +198,7 @@ docker_container: name: awx_task state: started - restart_policy: always + restart_policy: unless-stopped image: "{{ awx_task_docker_actual_image }}:{{ awx_version }}" links: "{{ awx_task_container_links|list }}" user: root