From f084bd976cf942a43df7bbc77c63e21bf1045970 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 5 Jul 2022 21:15:26 +0200 Subject: Fixed authorized_keys configuration drift, and change repo directory from hostname to fqdn --- action_plugins/borg_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'action_plugins') diff --git a/action_plugins/borg_init.py b/action_plugins/borg_init.py index ea07f20..ea62145 100644 --- a/action_plugins/borg_init.py +++ b/action_plugins/borg_init.py @@ -29,7 +29,7 @@ class ActionModule(ActionBase): } for hostname, hostvars in task_vars['hostvars'].items() : if 'borg_server' in hostvars.keys() and hostvars['borg_server'] == task_vars['ansible_host']: - server['clients'].append(hostname) + server['clients'].append({'hostname': hostname, 'pubkey': hostvars['ansible_local']['borg']['pubkey']}) ### Borg client variables ############################################ client = { -- cgit v1.2.3