copr-backend: ssh_config is actually a template
This commit is contained in:
parent
96f1d5184a
commit
1bbb69261d
3 changed files with 13 additions and 4 deletions
|
@ -64,9 +64,15 @@
|
||||||
copy: src="{{ private }}/files/copr/buildsys.priv" dest=/home/copr/.ssh/id_rsa owner=copr group=copr mode=600
|
copy: src="{{ private }}/files/copr/buildsys.priv" dest=/home/copr/.ssh/id_rsa owner=copr group=copr mode=600
|
||||||
|
|
||||||
- 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
|
template:
|
||||||
|
src: "ssh_config.j2"
|
||||||
|
dest: /var/lib/resallocserver/.ssh/config
|
||||||
|
owner: resalloc
|
||||||
|
group: resalloc
|
||||||
|
mode: 0600
|
||||||
tags:
|
tags:
|
||||||
- copr_ssh_config
|
- backend_to_hv_ssh_config
|
||||||
|
- provision_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
|
||||||
|
|
|
@ -113,12 +113,15 @@
|
||||||
mode: 0600
|
mode: 0600
|
||||||
|
|
||||||
- name: resalloc, ssh config file
|
- name: resalloc, ssh config file
|
||||||
copy:
|
template:
|
||||||
src: "ssh_config"
|
src: "ssh_config.j2"
|
||||||
dest: /var/lib/resallocserver/.ssh/config
|
dest: /var/lib/resallocserver/.ssh/config
|
||||||
owner: resalloc
|
owner: resalloc
|
||||||
group: resalloc
|
group: resalloc
|
||||||
mode: 0600
|
mode: 0600
|
||||||
|
tags:
|
||||||
|
- backend_to_hv_ssh_config
|
||||||
|
- provision_config
|
||||||
|
|
||||||
- name: resalloc, server config
|
- name: resalloc, server config
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue