Michal Ptacek | da1ff1f | 2018-12-19 11:41:46 +0000 | [diff] [blame] | 1 | --- |
| 2 | - name: Load VNC server image |
| 3 | docker_image: |
Tomáš Levora | a0ad5c1 | 2019-03-28 17:45:55 +0100 | [diff] [blame] | 4 | name: "{{ vnc_server_image }}" |
| 5 | load_path: "{{ infra_images_path }}/{{ vnc_server_image_tar }}" |
Michal Ptacek | da1ff1f | 2018-12-19 11:41:46 +0000 | [diff] [blame] | 6 | state: present |
| 7 | timeout: 120 |
| 8 | |
Tomáš Levora | a0ad5c1 | 2019-03-28 17:45:55 +0100 | [diff] [blame] | 9 | - name: Start VNC server container |
Michal Ptacek | da1ff1f | 2018-12-19 11:41:46 +0000 | [diff] [blame] | 10 | docker_container: |
Tomáš Levora | a0ad5c1 | 2019-03-28 17:45:55 +0100 | [diff] [blame] | 11 | name: vnc-server |
| 12 | image: "{{ vnc_server_image }}" |
Michal Ptacek | da1ff1f | 2018-12-19 11:41:46 +0000 | [diff] [blame] | 13 | state: started |
| 14 | restart_policy: unless-stopped |
| 15 | ports: |
| 16 | - "5901:5901" |
| 17 | - "6901:6901" |
| 18 | env: |
| 19 | VNC_PW: "{{ vnc_passwd }}" |