We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e6811c commit 2cf9e69Copy full SHA for 2cf9e69
1 file changed
ansible/playbook.yml
@@ -158,10 +158,9 @@
158
name: github-app
159
namespace: {{ namespace }}
160
type: Opaque
161
- stringData:
162
- GITHUB_APP_ID: "{{ github_app_id }}"
163
- GITHUB_PRIVATE_KEY: |
164
- {{ lookup('ansible.builtin.file', github_private_key_path) | indent(14, false) }}
+ data:
+ GITHUB_APP_ID: "{{ github_app_id | string | b64encode }}"
+ GITHUB_PRIVATE_KEY: "{{ lookup('ansible.builtin.file', github_private_key_path) | b64encode }}"
165
register: apply_secret_github_app
166
changed_when: "'created' in apply_secret_github_app.stdout or 'configured' in apply_secret_github_app.stdout"
167
# no_log: true
0 commit comments