diff options
author | Julien Dessaux | 2021-06-29 18:23:26 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-06-30 11:26:00 +0200 |
commit | 6e2e7d557489f63b2291a0788e49e2ec2ddf4064 (patch) | |
tree | a774aadbe90c618444cecfe0d4dc383368645477 /action_plugins/borg_init.py | |
parent | Added gitignore file for __pycache__ folder (diff) | |
download | borg-ansible-role-6e2e7d557489f63b2291a0788e49e2ec2ddf4064.tar.gz borg-ansible-role-6e2e7d557489f63b2291a0788e49e2ec2ddf4064.tar.bz2 borg-ansible-role-6e2e7d557489f63b2291a0788e49e2ec2ddf4064.zip |
Added FreeBSD support1.1.0
Diffstat (limited to 'action_plugins/borg_init.py')
-rw-r--r-- | action_plugins/borg_init.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/action_plugins/borg_init.py b/action_plugins/borg_init.py index 9dde218..ea07f20 100644 --- a/action_plugins/borg_init.py +++ b/action_plugins/borg_init.py @@ -13,11 +13,12 @@ class ActionModule(ActionBase): ### OS support ####################################################### os_package_names = { - 'Alpine': 'borgbackup', - 'Debian': 'borgbackup', - 'Gentoo': 'app-backup/borgbackup', - 'OpenBSD': 'borgbackup', - 'RedHat': 'borgbackup', + 'Alpine': 'borgbackup', + 'Debian': 'borgbackup', + 'FreeBSD': 'py38-borgbackup', + 'Gentoo': 'app-backup/borgbackup', + 'OpenBSD': 'borgbackup', + 'RedHat': 'borgbackup', } if task_vars['ansible_os_family'] not in os_package_names: error_msgs.append(f"borg role does not support {task_vars['ansible_os_family']} os family clients yet") |