From ebecda38b6bfffbde1d977c4316def1e23e86c7e Mon Sep 17 00:00:00 2001 From: Patrick Marchand Date: Fri, 24 Apr 2020 10:46:10 -0400 Subject: [PATCH] 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.. --- evobackup-client/tasks/jail.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/evobackup-client/tasks/jail.yml b/evobackup-client/tasks/jail.yml index 51080d67..fbb6080c 100644 --- a/evobackup-client/tasks/jail.yml +++ b/evobackup-client/tasks/jail.yml @@ -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