Skip to content

Commit

Permalink
refactor(infra): debug secrets.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed Jul 5, 2024
1 parent 3e104d4 commit 2729763
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infrastructure/nomad/playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,14 @@
slurp:
src: "{{ dist_dir }}/secrets.json"
register: secrets_json
when: build_artifacts and environments[env].secrets == 'generate'
delegate_to: localhost
run_once: true

- name: Debug Generated Secrets
ansible.builtin.debug:
msg: "{{ secrets_json.content | b64decode | from_json }}"
when: build_artifacts and env == 'devenv' and environments[env].secrets == 'generate'
delegate_to: localhost
run_once: true

Expand Down

0 comments on commit 2729763

Please sign in to comment.