diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-04-13 13:58:44 +0200 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-04-13 13:58:44 +0200 |
commit | ac0208a646df00edb911a2e2b738584c51938bf6 (patch) | |
tree | ce01bd10d54a41db156cdebfd5068204282089d1 | |
parent | 6a2f8ac75a0e5699751f7343c2d6caaba57c91b9 (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>
-rw-r--r-- | ansible/roles/vncserver/tasks/main.yml | 2 | ||||
-rw-r--r-- | ansible/test/roles/prepare-vncserver/tasks/main.yml | 1 |
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 |