ocserv: dehardcode site name in cert expiry message
This commit is contained in:
parent
cee8d2fb55
commit
71152fe652
2 changed files with 6 additions and 6 deletions
|
|
@ -93,9 +93,9 @@
|
|||
sysctl_set: true
|
||||
|
||||
- name: Install user certificate expiry notification script
|
||||
copy:
|
||||
dest: /usr/local/bin/
|
||||
src: notify-expiring-certs
|
||||
template:
|
||||
dest: /usr/local/bin/notify-expiring-certs
|
||||
src: notify-expiring-certs.j2
|
||||
mode: "0755"
|
||||
|
||||
- name: Schedule user certificate expiry notification script
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@ for cert in /var/lib/ocserv/certs/*.crt ; do
|
|||
To: ${email}
|
||||
Bcc: root
|
||||
Date: $(date -R)
|
||||
Subject: Potek certifikata za FRI VPN
|
||||
Subject: Potek certifikata za {{ dns_name }}
|
||||
|
||||
Spoštovani,
|
||||
|
||||
čez ${validity} dni bo potekel FRI VPN certifikat za ${email}. Če dostop še potrebujete, kontaktirajte RC FRI za podaljšanje.
|
||||
čez ${validity} dni bo potekel certifikat ${email} za dostop do {{ dns_name }}. Če dostop še potrebujete, kontaktirajte RC FRI za podaljšanje.
|
||||
|
||||
Lep pozdrav,
|
||||
RC FRI
|
||||
|
|
@ -37,7 +37,7 @@ RC FRI
|
|||
|
||||
Hello,
|
||||
|
||||
in ${validity} days the FRI VPN certificate for ${email} will expire. If you still need access, contact RC FRI for renewal.
|
||||
in ${validity} days the certificate ${email} to access {{ dns_name }} will expire. If you still need access, contact RC FRI for renewal.
|
||||
|
||||
Best regards,
|
||||
RC FRI
|
||||
Loading…
Add table
Add a link
Reference in a new issue