create empty known_hosts
adressing warings from ansible: previous known host file not found
This commit is contained in:
parent
49badcc891
commit
0661687464
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@
|
|||
- name: setup copr user ssh config file
|
||||
action: copy src=$files/copr/ssh_config dest=/home/copr/.ssh/config owner=copr group=copr mode=600
|
||||
|
||||
- name: create empty known_hosts
|
||||
action: copy src=/dev/null dest=/home/copr/.ssh/known_hosts owner=copr group=copr mode=600
|
||||
|
||||
- name: replace bashrc for copr user
|
||||
action: copy src=$files/copr/copr_bashrc dest=/home/copr/.bashrc owner=copr group=copr mode=600
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue