summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-15 11:40:28 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-15 11:40:28 +0200
commit8e67c4a1ff21428f9741f90d8ee57b65b83508ca (patch)
treebf20e3460ea12590731cc4fb93d223ac38a08226 /ansible/roles
parent7d699d3c4020c4a5c406bee89550bd97ead248a0 (diff)
[ANSIBLE 3.2.0] Upgrade 'chartmuseum' role's tasks to ansible 3.2.0
Change-Id: I96504d94eb4322857979a6ec37b2d63d4fe074df Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/chartmuseum/handlers/main.yml1
-rw-r--r--ansible/roles/chartmuseum/tasks/main.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/chartmuseum/handlers/main.yml b/ansible/roles/chartmuseum/handlers/main.yml
index 867aaf0f..c14551a9 100644
--- a/ansible/roles/chartmuseum/handlers/main.yml
+++ b/ansible/roles/chartmuseum/handlers/main.yml
@@ -12,3 +12,4 @@
- "{{ chartmuseum_port }}:8080/tcp"
restart_policy: unless-stopped
recreate: true
+ container_default_behavior: compatibility
diff --git a/ansible/roles/chartmuseum/tasks/main.yml b/ansible/roles/chartmuseum/tasks/main.yml
index 16e41022..882c81cc 100644
--- a/ansible/roles/chartmuseum/tasks/main.yml
+++ b/ansible/roles/chartmuseum/tasks/main.yml
@@ -9,6 +9,7 @@
docker_image:
name: "{{ chartmuseum_server_image }}"
load_path: "{{ infra_images_path }}/{{ chartmuseum_server_image_tar }}"
+ source: load
state: present
timeout: 120
notify: Run chartmuseum server container