ansible-roles/evobackup-client/tasks/verify_ssh.yml
Patrick Marchand d226ce594a Changed variables to all lower snake case for evobackup-client
Not just esthetic, for some reason ansible refused to run with '-'
somewhere and I just could not find where, changing variables and
tags to use '_' fixed it. It's more consistent anyway.
2019-09-06 17:49:40 -04:00

12 lines
316 B
YAML

---
- name: Verify evolix backup servers
known_hosts:
path: /root/.ssh/known_hosts
name: "[{{ item.name }}]:{{ item.port }}"
key: "[{{ item.name }}]:{{ item.port }} {{ item.fingerprint }}"
with_list: "{{ evobackup_client__hosts }}"
tags:
- evobackup_client
- evobackup_client_backup_hosts