forked from evolix/ansible-roles
0f7d9e9f24
This makes it a bit more annoying to define default hosts for multiple machines, but it's not that bad and it's better than not being able to define heterogeous ports.
12 lines
316 B
YAML
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
|