remove config file
This commit is contained in:
@@ -166,21 +166,9 @@
|
||||
group: users
|
||||
mode: '0755'
|
||||
|
||||
- name: Create SSH config file
|
||||
copy:
|
||||
dest: /root/.ssh/config
|
||||
content: |
|
||||
Hostname misamisa.netbird.cloud
|
||||
Port 25456
|
||||
User restic
|
||||
IdentityFile /home/restic/.ssh/resticuser.ed25519
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
# - name: Add known host entry for misamisa
|
||||
# become: yes
|
||||
# shell: "ssh-keyscan -p 25456 -H misamisa.duckdns.org >> ~/.ssh/known_hosts"
|
||||
- name: Add known host entry for misamisa
|
||||
become: yes
|
||||
shell: "ssh-keyscan -p 25456 -H misamisa.duckdns.org >> ~/.ssh/known_hosts"
|
||||
|
||||
- name: Download restic bz2 file
|
||||
get_url:
|
||||
|
||||
Reference in New Issue
Block a user