diff --git a/playbooks/groups/copr-backend-newcloud.yml b/playbooks/groups/copr-backend-newcloud.yml index 98a4f53945..56252dda3d 100644 --- a/playbooks/groups/copr-backend-newcloud.yml +++ b/playbooks/groups/copr-backend-newcloud.yml @@ -15,8 +15,11 @@ tasks: - include: "{{ tasks }}/persistent_cloud_new.yml" - 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 + with_items: + - /root/.ssh/known_hosts + - /etc/ssh/ssh_known_hosts - include: "{{ tasks }}/growroot_cloud.yml" - name: cloud basic setup diff --git a/playbooks/groups/copr-frontend-newcloud.yml b/playbooks/groups/copr-frontend-newcloud.yml index 326a435bfd..fb3a39af37 100644 --- a/playbooks/groups/copr-frontend-newcloud.yml +++ b/playbooks/groups/copr-frontend-newcloud.yml @@ -16,6 +16,9 @@ - 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 ignore_errors: True + with_items: + - /root/.ssh/known_hosts + - /etc/ssh/ssh_known_hosts - include: "{{ tasks }}/growroot_cloud.yml"