added consul reload back, with env variable file
This commit is contained in:
parent
e4bcbefa51
commit
548b77b339
@ -11,7 +11,7 @@ template {
|
|||||||
perms = 0700
|
perms = 0700
|
||||||
user = "{{ renew_consul_certificates_consul_user }}"
|
user = "{{ renew_consul_certificates_consul_user }}"
|
||||||
group = "{{ renew_consul_certificates_consul_group }}"
|
group = "{{ renew_consul_certificates_consul_group }}"
|
||||||
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && pkill -SIGHUP consul '"
|
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && consul reload '"
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
@ -20,7 +20,7 @@ template {
|
|||||||
perms = 0700
|
perms = 0700
|
||||||
user = "{{ renew_consul_certificates_consul_user }}"
|
user = "{{ renew_consul_certificates_consul_user }}"
|
||||||
group = "{{ renew_consul_certificates_consul_group }}"
|
group = "{{ renew_consul_certificates_consul_group }}"
|
||||||
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && pkill -SIGHUP consul '"
|
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && consul reload '"
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
@ -29,5 +29,5 @@ template {
|
|||||||
perms = 0700
|
perms = 0700
|
||||||
user = "{{ renew_consul_certificates_consul_user }}"
|
user = "{{ renew_consul_certificates_consul_user }}"
|
||||||
group = "{{ renew_consul_certificates_consul_group }}"
|
group = "{{ renew_consul_certificates_consul_group }}"
|
||||||
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && pkill -SIGHUP consul '"
|
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && consul reload '"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user