diff options
author | Julien Dessaux | 2022-07-05 21:15:26 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-07-05 21:54:40 +0200 |
commit | f084bd976cf942a43df7bbc77c63e21bf1045970 (patch) | |
tree | 097b2d2a82b60489c2d22c32e4e7802342d1e82e /action_plugins | |
parent | Allow hyphens in borg job name (diff) | |
download | borg-ansible-role-f084bd976cf942a43df7bbc77c63e21bf1045970.tar.gz borg-ansible-role-f084bd976cf942a43df7bbc77c63e21bf1045970.tar.bz2 borg-ansible-role-f084bd976cf942a43df7bbc77c63e21bf1045970.zip |
Fixed authorized_keys configuration drift, and change repo directory from hostname to fqdn
Diffstat (limited to '')
-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 = { |