Skip to content

Commit db82f18

Browse files
committed
Fix Ansible Dependency & Update Aync Directory
Adds the "python38-jmespath" package to the "pgo-deployer" image for UBI 8 as required by Ansible, while also updating the Ansible async directory for proper async functionality in all "pgo-deployer" image builds. Issue: [sc-14754]
1 parent 7ef3c94 commit db82f18

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

build/pgo-deployer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ RUN if [ "$BASEOS" = "ubi8" ] ; then \
6363
which \
6464
gettext \
6565
nss_wrapper \
66+
python38-jmespath \
6667
&& ${PACKAGER} -y clean all --enablerepo='rhocp-4.5-for-rhel-8-x86_64-rpms' ; \
6768
fi
6869

installers/ansible/roles/pgo-operator/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@
355355
- name: Wait for PGO to finish deploying
356356
command: "{{ kubectl_or_oc }} rollout status deployment/postgres-operator -n {{ pgo_operator_namespace }}"
357357
async: 600
358+
vars:
359+
ansible_async_dir: /tmp/.ansible_async
358360

359361
- name: PGO Client
360362
tags:

installers/metrics/ansible/roles/pgo-metrics/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@
137137
poll: 0
138138
loop: "{{ deployments }}"
139139
register: deployment_results
140+
vars:
141+
ansible_async_dir: /tmp/.ansible_async
140142

141143
- name: Check Metrics Deployment Status
142144
async_status:

0 commit comments

Comments
 (0)