copr-backend: prefer ssh over ipv4 to copr_hypervisor
This commit is contained in:
parent
3fc94c29fc
commit
96f1d5184a
2 changed files with 5 additions and 0 deletions
|
@ -5,3 +5,6 @@ Host *
|
||||||
ServerAliveInterval 20
|
ServerAliveInterval 20
|
||||||
ServerAliveCountMax 5
|
ServerAliveCountMax 5
|
||||||
ConnectTimeout 60
|
ConnectTimeout 60
|
||||||
|
|
||||||
|
Host{% for host in groups["copr_hypervisor"] %}{{- ' ' + host }}{% endfor %}
|
||||||
|
AddressFamily inet
|
||||||
|
|
|
@ -65,6 +65,8 @@
|
||||||
|
|
||||||
- name: setup copr user ssh config file
|
- name: setup copr user ssh config file
|
||||||
copy: src="ssh_config" dest=/home/copr/.ssh/config owner=copr group=copr mode=600
|
copy: src="ssh_config" dest=/home/copr/.ssh/config owner=copr group=copr mode=600
|
||||||
|
tags:
|
||||||
|
- copr_ssh_config
|
||||||
|
|
||||||
- name: check known_hosts file
|
- name: check known_hosts file
|
||||||
command: stat /home/copr/.ssh/known_hosts
|
command: stat /home/copr/.ssh/known_hosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue