aboutsummaryrefslogtreecommitdiffstats
path: root/roles/acme/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/acme/tasks/main.yml')
-rw-r--r--roles/acme/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/acme/tasks/main.yml b/roles/acme/tasks/main.yml
index 5f0f560..f2d4ba3 100644
--- a/roles/acme/tasks/main.yml
+++ b/roles/acme/tasks/main.yml
@@ -17,14 +17,14 @@
- name: generate acme certificates # noqa: no-changed-when
ansible.builtin.command: acme-client -v {{ item }}
loop: "{{ subdomains.stdout_lines }}"
- register: result
+ register: acme_result_generation
failed_when:
- - result.rc != 0
- - "'certificate valid' not in result.stderr"
+ - acme_result_generation.rc != 0
+ - "'certificate valid' not in acme_result_generation.stderr"
- name: display registered certificates
ansible.builtin.debug:
- var: result
+ msg: "{{ acme_result_generation.results | map(attribute='stderr') }}"
- name: enable automatic acme certificates update
ansible.builtin.cron:
remember that computers suck.