2020-06-23 17:07:55 +02:00
|
|
|
---
|
|
|
|
|
2020-06-23 18:07:51 +02:00
|
|
|
- block:
|
|
|
|
- name: 'get jail port'
|
|
|
|
command: "bkctld port {{ evolinux_hostname }}"
|
|
|
|
become: true
|
|
|
|
register: bkctld_port
|
|
|
|
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
|
2020-06-23 17:07:55 +02:00
|
|
|
|
2020-06-23 18:07:51 +02:00
|
|
|
- name: 'register jail port'
|
|
|
|
set_fact:
|
|
|
|
evobackup_ssh_port={{ bkctld_port.stdout }}
|
|
|
|
|
|
|
|
when: evobackup_ssh_port = ''
|
|
|
|
tags:
|
|
|
|
- evobackup_client
|
|
|
|
- evobackup_client_ssh_port
|