diff options
Diffstat (limited to 'action_plugins/borg_init.py')
-rw-r--r-- | action_plugins/borg_init.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |