ansible-roles/evobackup-client/tasks/verify_ssh.yml
Patrick Marchand de4ba88790
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Dried up the tags for evobackup-client
blocks allow us to assign multiple tags to multiple tasks without
repeating ourselves. This also simplifies other logic like conditional
includes.
2020-06-23 12:07:51 -04:00

16 lines
368 B
YAML

---
- block:
- include: "jail_port.yml"
- 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_fingerprints