18e30178a4
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
29 lines
899 B
Python
29 lines
899 B
Python
defaults = {
|
|
'apt': {
|
|
'packages': {
|
|
'openssl': {
|
|
'needed_by': {
|
|
'action:letsencrypt_update_certificates',
|
|
},
|
|
},
|
|
'dehydrated': {
|
|
'needed_by': {
|
|
'action:letsencrypt_update_certificates',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
'cron': {
|
|
'letsencrypt_renew': '{} 4 * * * root /usr/bin/dehydrated --cron --accept-terms --challenge http-01 > /dev/null'.format((node.magic_number % 60)),
|
|
'letsencrypt_cleanup': '{} 4 * * 0 root /usr/bin/dehydrated --cleanup > /dev/null'.format((node.magic_number % 60)),
|
|
},
|
|
'pacman': {
|
|
'packages': {
|
|
'dehydrated': {
|
|
'needed_by': {
|
|
'action:letsencrypt_update_certificates',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|