blob: cb7a5f8aa041574aa5b2e118eaa172a9cc2e96bd [file] [log] [blame]
Michal Zegan063c08c2019-05-27 13:55:40 +02001---
2- name: "Create needed dirs for vncserver role"
3 file:
4 path: "{{ item }}"
5 state: directory
6 mode: "u+rw,g+wx,o+rwx"
7 recurse: true
8 loop:
9 - "{{ infra_images_path }}"
10
11- name: Download and archive vncserver docker image for the vncserver role to use
12 delegate_to: localhost
13 docker_image:
14 name: "{{ vnc_server_image }}"
15 state: present
16 archive_path: /tmp/vncserver.tar
17
18- name: Copy vnc server image to node
19 copy:
20 src: /tmp/vncserver.tar
21 dest: "{{ infra_images_path }}/{{ vnc_server_image_tar }}"