Skip to content

Commit 2cf9e69

Browse files
committed
fix: pem indent
1 parent 0e6811c commit 2cf9e69

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

ansible/playbook.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,9 @@
158158
name: github-app
159159
namespace: {{ namespace }}
160160
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) }}
161+
data:
162+
GITHUB_APP_ID: "{{ github_app_id | string | b64encode }}"
163+
GITHUB_PRIVATE_KEY: "{{ lookup('ansible.builtin.file', github_private_key_path) | b64encode }}"
165164
register: apply_secret_github_app
166165
changed_when: "'created' in apply_secret_github_app.stdout or 'configured' in apply_secret_github_app.stdout"
167166
# no_log: true

0 commit comments

Comments
 (0)