mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 13:52:58 +00:00
13 lines
420 B
YAML
13 lines
420 B
YAML
---
|
|
- name: Retrieve bundle Certificate Authority Secret
|
|
k8s_info:
|
|
kind: Secret
|
|
namespace: '{{ meta.namespace }}'
|
|
name: '{{ bundle_cacert_secret }}'
|
|
register: bundle_cacert
|
|
|
|
- name: Load bundle Certificate Authority Secret content
|
|
set_fact:
|
|
bundle_ca_crt: '{{ bundle_cacert["resources"][0]["data"]["bundle-ca.crt"] | b64decode }}'
|
|
when: '"bundle-ca.crt" in bundle_cacert["resources"][0]["data"]'
|