mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2026-06-20 07:52:38 +02:00
initial: no secrets
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
- name: install certbot
|
||||
apt:
|
||||
pkg:
|
||||
- certbot
|
||||
|
||||
- name: Add Cronjob
|
||||
cron:
|
||||
name: "Cerbot"
|
||||
job: "certbot certonly --standalone --preferred-challenges http -d ldap.atlantishq.de --register-unsafely-without-email --non-interactive --agree-tos"
|
||||
minute: "30"
|
||||
hour: "4"
|
||||
day: "1"
|
||||
register: cron
|
||||
notify: restart slapd
|
||||
|
||||
- name: Run Cronjob job because it changed
|
||||
command: "certbot certonly --standalone --preferred-challenges http -d ldap.atlantishq.de --register-unsafely-without-email --non-interactive --agree-tos"
|
||||
when: cron.changed
|
||||
Reference in New Issue
Block a user