blob: 56ae707b5947fe06ed8d4dae5b46cb7e400d32a3 [file] [log] [blame]
Michal Ptacekda1ff1f2018-12-19 11:41:46 +00001---
2- name: Load VNC server image
3 docker_image:
4 name: consol/centos-icewm-vnc:latest
5 load_path: '{{ app_data_path }}/offline_data/docker_images_infra/consol_centos_icewm_vnc_latest.tar'
6 state: present
7 timeout: 120
8
9- name: Run VNC server
10 docker_container:
11 name: vnc_server
12 image: consol/centos-icewm-vnc
13 state: started
14 restart_policy: unless-stopped
15 ports:
16 - "5901:5901"
17 - "6901:6901"
18 env:
19 VNC_PW: "{{ vnc_passwd }}"