From 8f2adeeb45aebaee6ad6c7e0da7dadef6e7de4e5 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sat, 21 Oct 2023 23:53:39 +0200 Subject: [PATCH] Debug. --- gen_bootstrap.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gen_bootstrap.yml b/gen_bootstrap.yml index 4a28420..a644981 100755 --- a/gen_bootstrap.yml +++ b/gen_bootstrap.yml @@ -20,6 +20,12 @@ - lookup('env','SECRETS_ARCHIVE_PASSPHRASE') | length > 0 msg: "SECRETS_ARCHIVE_PASSPHRASE environment variable must be set" + - name: Assert OS_AUTH_URL environment variable is set + ansible.builtin.assert: + that: + - lookup('env','OS_AUTH_URL') | length > 0 + msg: "OS_AUTH_URL environment variable must be set" + - name: Download secrets.tar.gz.enc ansible.builtin.get_url: url: "https://{{ CLOUD_SERVER }}/s/{{ KEY }}/download?path=%2F&files=secrets.tar.gz.enc"