aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/letsencrypt/tasks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-20 22:37:42 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-20 22:37:42 +0200
commitb45c5bd35d60c3b18825d5b098171d4877fcadc3 (patch)
treec13d83e8e98215217c1cf7019649a42973f63e1e /roles/letsencrypt/tasks
parentuse variables instead facts mostly everywhere (diff)
downloadinfra-ansible-b45c5bd35d60c3b18825d5b098171d4877fcadc3.tar.gz
infra-ansible-b45c5bd35d60c3b18825d5b098171d4877fcadc3.zip
tweak names a bit
Diffstat (limited to 'roles/letsencrypt/tasks')
-rw-r--r--roles/letsencrypt/tasks/digitalocean.yml4
1 files changed, 2 insertions, 2 deletions
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