Skip to content

Commit

Permalink
chore: update RedHat vars, add notifier to plugin task
Browse files Browse the repository at this point in the history
  • Loading branch information
adf-patrickha committed Feb 12, 2024
1 parent ca34144 commit 733e61e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions tasks/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
name: "{{ item.packages }}"
state: present
loop: "{{ _plugin_data }}"
notify:
- Check configuration
- Restart bareos-filedaemon
4 changes: 3 additions & 1 deletion vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ bareos_fd_plugin_list:
packages:
- bareos-filedaemon-mariabackup-python-plugin

# TODO RHEL offers no python-mysqlclient package per default.
# Check if PyMySQL is working with the plugin
- name: mysql
packages:
- python3-mysqlclient
- python3-PyMySQL

- name: postgresql
packages:
Expand Down
4 changes: 2 additions & 2 deletions vars/RedHat_7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ bareos_fd_debug_packages:
- bareos-debuginfo
- gdb

bareos_fd_plugin_default_name: python2
bareos_fd_plugin_default_name: python
bareos_fd_plugin_list:
- name: mariabackup
packages:
- bareos-filedaemon-mariabackup-python-plugin

- name: mysql
packages:
- python2-mysqlclient
- MySQL-python

- name: postgresql
packages:
Expand Down

0 comments on commit 733e61e

Please sign in to comment.