basessh: set the delegate here to localhost
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
3ed359e343
commit
812c4c0f0d
1 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@
|
|||
group=root
|
||||
mode=0600
|
||||
state=directory
|
||||
delegate_to: "batcave01.phx2.fedoraproject.org"
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
changed_when: False
|
||||
tags:
|
||||
|
@ -200,7 +200,7 @@
|
|||
# Currently, we use the epoch as serial. That's unique enough for now
|
||||
- name: Sign the certificates
|
||||
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: localhost
|
||||
with_items: "{{certs_to_sign}}"
|
||||
tags:
|
||||
- basessh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue