delete the key from both files
This commit is contained in:
parent
bec235e4cb
commit
90033ba69b
2 changed files with 7 additions and 1 deletions
|
@ -15,8 +15,11 @@
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/persistent_cloud_new.yml"
|
- include: "{{ tasks }}/persistent_cloud_new.yml"
|
||||||
- name: clean out old known_hosts for copr-be-dev
|
- name: clean out old known_hosts for copr-be-dev
|
||||||
local_action: known_hosts path=/root/.ssh/known_hosts host=copr-be-dev.cloud.fedoraproject.org state=absent
|
local_action: known_hosts path={{item}} host=copr-be-dev.cloud.fedoraproject.org state=absent
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
with_items:
|
||||||
|
- /root/.ssh/known_hosts
|
||||||
|
- /etc/ssh/ssh_known_hosts
|
||||||
- include: "{{ tasks }}/growroot_cloud.yml"
|
- include: "{{ tasks }}/growroot_cloud.yml"
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
- name: clean out old known_hosts for copr-fe-dev
|
- name: clean out old known_hosts for copr-fe-dev
|
||||||
local_action: known_hosts path=/root/.ssh/known_hosts host=copr-fe-dev.cloud.fedoraproject.org state=absent
|
local_action: known_hosts path=/root/.ssh/known_hosts host=copr-fe-dev.cloud.fedoraproject.org state=absent
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
with_items:
|
||||||
|
- /root/.ssh/known_hosts
|
||||||
|
- /etc/ssh/ssh_known_hosts
|
||||||
- include: "{{ tasks }}/growroot_cloud.yml"
|
- include: "{{ tasks }}/growroot_cloud.yml"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue