switched to new facts-syntax

This commit is contained in:
2026-01-12 12:31:24 +01:00
parent 037b998219
commit 9fd07d57a4
41 changed files with 111 additions and 109 deletions

View File

@@ -7,12 +7,12 @@
- name: domaincontroller | certs | obtain certificate from step-ca via certbot
command: >
certbot certonly --standalone -n
-d {{ ansible_fqdn }}
-d {{ ansible_facts['fqdn'] }}
--server {{ samba_stepca_server_url }}/acme/acme/directory
--agree-tos
--email admin@{{ samba_realm | lower }}
args:
creates: /etc/letsencrypt/live/{{ ansible_fqdn }}/fullchain.pem
creates: /etc/letsencrypt/live/{{ ansible_facts['fqdn'] }}/fullchain.pem
notify: restart samba-ad-dc
- name: domaincontroller | certs | create certbot.service override directory