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.
12 lines
260 B
YAML
12 lines
260 B
YAML
---
|
|
|
|
- name: 'get jail port'
|
|
command: "bkctld port {{ evolinux_hostname }}"
|
|
become: true
|
|
register: bkctld_port
|
|
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
|
|
|
|
- name: 'register jail port'
|
|
set_fact:
|
|
evobackup_ssh_port={{ bkctld_port.stdout }}
|