change ssh ca host
This commit is contained in:
parent
9a83bd6f4f
commit
685db7b685
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
register: cert_stat
|
register: cert_stat
|
||||||
- name: Generate user certificate
|
- name: Generate user certificate
|
||||||
command:
|
command:
|
||||||
cmd: "ssh -o ConnectTimeout=3 -o ConnectionAttempts=1 root@hermes.dmz '/root/ca.sh user \"{{ user_public_key }}\" lewis.lan \"backup\"'"
|
cmd: "ssh -o ConnectTimeout=3 -o ConnectionAttempts=1 root@atlas.lan '/root/ssh_ca/ssh_ca.sh user \"{{ user_public_key }}\" lewis.lan \"backup\"'"
|
||||||
register: cert
|
register: cert
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
when: not cert_stat.stat.exists
|
when: not cert_stat.stat.exists
|
||||||
|
|
Reference in a new issue