basessh: try and set /usr/bin/python for the delegations to batcave01 for python3 using hosts.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c9922c17f3
commit
d74c28a2c8
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,8 @@
|
||||||
group=root
|
group=root
|
||||||
mode=0600
|
mode=0600
|
||||||
state=directory
|
state=directory
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: /usr/bin/python
|
||||||
delegate_to: "batcave01.phx2.fedoraproject.org"
|
delegate_to: "batcave01.phx2.fedoraproject.org"
|
||||||
run_once: true
|
run_once: true
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
@ -202,6 +204,8 @@
|
||||||
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"
|
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}}"
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: /usr/bin/python
|
||||||
tags:
|
tags:
|
||||||
- basessh
|
- basessh
|
||||||
- sshd_cert
|
- sshd_cert
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue