diff --git a/hooks/playbooks/ironic_inject_tls.yml b/hooks/playbooks/ironic_inject_tls.yml index 889cb4beb9..12894c39e3 100644 --- a/hooks/playbooks/ironic_inject_tls.yml +++ b/hooks/playbooks/ironic_inject_tls.yml @@ -56,6 +56,7 @@ image: "{{ ironic_python_image }}" name: ironic-python-agent rm: true + detach: false volumes: - "{{ cifmw_basedir }}/artifacts/ironic_ipa_tls/:/target:Z" @@ -66,6 +67,7 @@ executable: "/bin/bash" script: | set -xe -o pipefail + ls -la {{ cifmw_basedir }}/artifacts/ironic_ipa_tls/ zcat {{ cifmw_basedir }}/artifacts/ironic_ipa_tls/ironic-python-agent.initramfs | cpio -idmv cp {{ cifmw_basedir }}/artifacts/ironic_ipa_tls/internal-ca-bundle.pem etc/pki/ca-trust/source/anchors/ chroot {{ cifmw_basedir }}/artifacts/ironic_ipa_tls/initramfs << EOF_CHROOT_SCRIPT