We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1778696 commit 10b6452Copy full SHA for 10b6452
1 file changed
infrastructure/nomad/playbooks/deploy.yml
@@ -528,6 +528,14 @@
528
slurp:
529
src: "{{ dist_dir }}/secrets.json"
530
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'
539
delegate_to: localhost
540
run_once: true
541
0 commit comments