Skip to content

Commit 10b6452

Browse files
authored
refactor(infra): debug secrets.json (#206)
1 parent 1778696 commit 10b6452

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

infrastructure/nomad/playbooks/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,14 @@
528528
slurp:
529529
src: "{{ dist_dir }}/secrets.json"
530530
register: secrets_json
531+
when: build_artifacts and environments[env].secrets == 'generate'
532+
delegate_to: localhost
533+
run_once: true
534+
535+
- name: Debug Generated Secrets
536+
ansible.builtin.debug:
537+
msg: "{{ secrets_json.content | b64decode | from_json }}"
538+
when: build_artifacts and env == 'devenv' and environments[env].secrets == 'generate'
531539
delegate_to: localhost
532540
run_once: true
533541

0 commit comments

Comments
 (0)