Patrick Marchand
8caca4c711
This makes it easier to manage the dependency of the other tasks on this variable. I removed the tags on those tasks so they would not be excluded.
15 lines
376 B
YAML
15 lines
376 B
YAML
---
|
|
|
|
- include: "jail_port.yml"
|
|
when: evobackup_ssh_port = ''
|
|
|
|
- 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
|