From b45c5bd35d60c3b18825d5b098171d4877fcadc3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 20 Aug 2023 22:37:42 +0200 Subject: tweak names a bit --- roles/letsencrypt/tasks/digitalocean.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/letsencrypt/tasks') diff --git a/roles/letsencrypt/tasks/digitalocean.yml b/roles/letsencrypt/tasks/digitalocean.yml index bbf9380..6cb1198 100644 --- a/roles/letsencrypt/tasks/digitalocean.yml +++ b/roles/letsencrypt/tasks/digitalocean.yml @@ -10,11 +10,11 @@ when: - lookup('env', 'DIGITALOCEAN_TOKEN') | length <= 0 - - name: Set the token as a fact + - name: Set token as fact ansible.builtin.set_fact: digitalocean_token: "{{ digitalocean_token.user_input | default(lookup('env', 'DIGITALOCEAN_TOKEN')) }}" - - name: Fail if the token is invalid + - name: Fail if token is invalid ansible.builtin.fail: msg: 'DigitalOcean token is invalid' when: digitalocean_token | length == 0 -- cgit v1.2.3