summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/vncserver/tasks/main.yml2
-rw-r--r--ansible/test/roles/prepare-vncserver/tasks/main.yml1
2 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/vncserver/tasks/main.yml b/ansible/roles/vncserver/tasks/main.yml
index b1aaed9e..287b6ce1 100644
--- a/ansible/roles/vncserver/tasks/main.yml
+++ b/ansible/roles/vncserver/tasks/main.yml
@@ -4,6 +4,7 @@
name: "{{ vnc_server_image }}"
load_path: "{{ infra_images_path }}/{{ vnc_server_image_tar }}"
state: present
+ source: load
timeout: 120
- name: Start VNC server container
@@ -17,3 +18,4 @@
- "6901:6901"
env:
VNC_PW: "{{ vnc_passwd }}"
+ container_default_behavior: compatibility
diff --git a/ansible/test/roles/prepare-vncserver/tasks/main.yml b/ansible/test/roles/prepare-vncserver/tasks/main.yml
index bb5a43ef..24e3ecc3 100644
--- a/ansible/test/roles/prepare-vncserver/tasks/main.yml
+++ b/ansible/test/roles/prepare-vncserver/tasks/main.yml
@@ -13,6 +13,7 @@
docker_image:
name: "{{ vnc_server_image }}"
state: present
+ source: pull
archive_path: /tmp/vncserver.tar
timeout: 240