ansible-roles/evobackup-client/tasks/jail_port.yml
Patrick Marchand 8caca4c711 Split jail port retrival tasks into their own file
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.
2020-06-23 11:07:55 -04:00

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 }}