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