summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-13 13:58:44 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-22 08:49:24 +0200
commitfcb947c5edd8fd6ae3ac718116d892076612bcd1 (patch)
treea23f2e33a129bb1329ca5814315b7ec0073fed93 /ansible
parentb08268d77b090d41d3d8b9ff00f6917776129a06 (diff)
[ANSIBLE 3.2.0] Upgrade 'vncserver' role's tasks to ansible 3.2.0
Change-Id: Ie721fac402c3cd5725c770313194a9ad98a07f2d Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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