From 6e2e7d557489f63b2291a0788e49e2ec2ddf4064 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 29 Jun 2021 18:23:26 +0200 Subject: Added FreeBSD support --- action_plugins/borg_init.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'action_plugins') 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") -- cgit v1.2.3