blob: b1aaed9e4d049c244a59e292fc7493c8b6ba3467 [file] [log] [blame]
---
- name: Load VNC server image
docker_image:
name: "{{ vnc_server_image }}"
load_path: "{{ infra_images_path }}/{{ vnc_server_image_tar }}"
state: present
timeout: 120
- name: Start VNC server container
docker_container:
name: vnc-server
image: "{{ vnc_server_image }}"
state: started
restart_policy: unless-stopped
ports:
- "5901:5901"
- "6901:6901"
env:
VNC_PW: "{{ vnc_passwd }}"