Lets just call out to date...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
bc31ff475a
commit
11a36497c8
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
# Currently, we use the epoch as serial. That's unique enough for now
|
# Currently, we use the epoch as serial. That's unique enough for now
|
||||||
- name: Sign the certificates
|
- name: Sign the certificates
|
||||||
command: "ssh-keygen -s {{private}}/files/ssh/{{env}}_ca_host_key -I {{inventory_hostname}} -h -n {{ sign_hostnames|join(',') }} -V {{sign_validity}} -z {{ansible_date_time.epoch}} {{pubkeydir}}/{{inventory_hostname}}{{item}}.pub"
|
shell: "ssh-keygen -s {{private}}/files/ssh/{{env}}_ca_host_key -I {{inventory_hostname}} -h -n {{ sign_hostnames|join(',') }} -V {{sign_validity}} -z `date +%s` {{pubkeydir}}/{{inventory_hostname}}{{item}}.pub"
|
||||||
delegate_to: "batcave01.phx2.fedoraproject.org"
|
delegate_to: "batcave01.phx2.fedoraproject.org"
|
||||||
with_items: "{{certs_to_sign}}"
|
with_items: "{{certs_to_sign}}"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue