Fixed evobackup-client not updating the ssh key in the jail

I have no idea how this got past testing, but apparently, the task
did not even exist..
This commit is contained in:
Patrick Marchand 2020-04-24 10:46:10 -04:00
parent 53ae27b250
commit ebecda38b6

View file

@ -31,6 +31,15 @@
- evobackup_client
- evobackup_client_jail
- name: 'add key to jail'
command: "bkctld key {{ evolinux_hostname }} /root/{{ evolinux_hostname }}.pub"
become: true
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
notify: 'jail updated'
tags:
- evobackup_client
- evobackup_client_jail
- name: 'get jail port'
command: "bkctld port {{ evolinux_hostname }}"
become: true