Michal Ptacek | da1ff1f | 2018-12-19 11:41:46 +0000 | [diff] [blame] | 1 | --- |
| 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 }}" |