remove redundant image pull, add docker compose start
This commit is contained in:
parent
9cc8043bb4
commit
1ddcd2e7b9
@ -31,7 +31,6 @@
|
|||||||
loop_var: site
|
loop_var: site
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Ensure SSW is pulled
|
- name: Start from docker compose file
|
||||||
community.docker.docker_image:
|
community.general.docker_compose:
|
||||||
name: "{{ sws_container_image }}"
|
project_src: "{{ static_site_server_base_path }}/"
|
||||||
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user