summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNacho Silla <nsilla@redhat.com>2022-05-19 12:55:16 +0200
committerNacho Silla <nsilla@redhat.com>2022-05-19 16:18:16 +0200
commitd6b52d59fe5797ee70fc8dd736b396aa1726af6b (patch)
treec1604a5e048d8a5051782e7da6c43f45e3baded4
parentb81d7342ae9fba27aa24e770d441892dd3cba281 (diff)
Fixed variable referencing podman_authfileHEADmaster
Change-Id: Iea5c63cf20a6e8556287d007f9ffa798d50f20e8
-rw-r--r--roles/postgresql/tasks/main.yml4
-rw-r--r--roles/redis/tasks/main.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/postgresql/tasks/main.yml b/roles/postgresql/tasks/main.yml
index ebaa936..ef1ebbd 100644
--- a/roles/postgresql/tasks/main.yml
+++ b/roles/postgresql/tasks/main.yml
@@ -16,7 +16,7 @@
become: true
- name: Pull postgresql image
- command: /usr/bin/podman pull {%if podman_authfile %} {{ --authfile=podman_authfile }} {% endif %} {{ postgresql_image }}
+ command: /usr/bin/podman pull {%if podman_authfile %} --authfile={{ podman_authfile }} {% endif %} {{ postgresql_image }}
- name: Launch quay-postgresql image service
systemd:
@@ -38,4 +38,4 @@
retries: 5
delay: 1
register: result
- until: result.rc == 0 \ No newline at end of file
+ until: result.rc == 0
diff --git a/roles/redis/tasks/main.yml b/roles/redis/tasks/main.yml
index 909a136..7c3d349 100644
--- a/roles/redis/tasks/main.yml
+++ b/roles/redis/tasks/main.yml
@@ -7,7 +7,7 @@
become: true
- name: Pull redis image
- command: /usr/bin/podman pull {%if podman_authfile %} {{ --authfile=podman_authfile }} {% endif %} {{ redis_image }}
+ command: /usr/bin/podman pull {% if podman_authfile %} --authfile={{ podman_authfile }} {% endif %} {{ redis_image }}
- name: Launch quay-redis service
systemd:
@@ -22,4 +22,4 @@
retries: 5
delay: 1
register: result
- until: result.rc == 0 \ No newline at end of file
+ until: result.rc == 0