ansible-roles/evobackup-client/tasks/verify_ssh.yml
2019-08-30 14:43:52 -04:00

12 lines
353 B
YAML

---
- name: Verify evolix backup servers
known_hosts:
path: /root/.ssh/known_hosts
name: "[{{ item.name }}]:{{ evobackup-client___ssh_port }}"
key: "[{{ item.name }}]:{{ evobackup-client___ssh_port }} {{ item.fingerprint }}"
with_list: "{{ evobackup-client___hosts }}"
tags:
- evobackup-client
- evobackup-client-backup-hosts