Skip to content

Commit

Permalink
fix(ci): workaround for broken LDAP plugin package Debian
Browse files Browse the repository at this point in the history
* chore(lint): replace yes/no with true/false in molecule
  • Loading branch information
adf-patrickha committed Feb 12, 2024
1 parent 733e61e commit e2750d8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
28 changes: 15 additions & 13 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
- name: Converge
hosts: all
become: yes
gather_facts: yes
become: true
gather_facts: true

roles:
- role: ansible-role-bareos_fd
bareos_fd_backup_configurations: yes
bareos_fd_install_debug_packages: yes
bareos_fd_encryption_enabled: yes
bareos_fd_backup_configurations: true
bareos_fd_install_debug_packages: true
bareos_fd_encryption_enabled: true
bareos_fd_encryption_private_key: |
-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEAvFS5DDxBm2Hgf6LM2QnU3eKTw6PHpCBESjuqoKDnwnjL9wXH
Expand Down Expand Up @@ -88,13 +88,13 @@
bareos_fd_directors:
- name: "bareos-dir"
password: "secretpassword"
monitor: no
connection_from_client_to_director: yes
connection_from_director_to_client: no
tls_enable: yes
tls_verify_peer: no
monitor: false
connection_from_client_to_director: true
connection_from_director_to_client: false
tls_enable: true
tls_verify_peer: false
- name: "disabled-director"
enabled: no
enabled: false
bareos_fd_messages:
- name: "Standard"
director:
Expand All @@ -115,9 +115,11 @@
- "!skipped"
- "!saved"
- name: "disabled-message"
enabled: no
enabled: false
bareos_fd_plugins:
- mariabackup
- mysql
- ldap
- postgresql
# TODO disabled as package `bareos-filedaemon-ldap-python-plugin`
# has broken dependencies on Debian (python-ldap instead of python3-ldap)
# - ldap
6 changes: 3 additions & 3 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
become: true
gather_facts: true

roles:
- role: robertdebock.bootstrap
- role: adfinis.bareos_repository
bareos_repository_enable_tracebacks: yes
bareos_repository_enable_tracebacks: true
4 changes: 3 additions & 1 deletion molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
name:
- bareos-filedaemon-mariabackup-python-plugin
- bareos-filedaemon-postgresql-python-plugin
- bareos-filedaemon-ldap-python-plugin
# TODO disabled as package `bareos-filedaemon-ldap-python-plugin`
# has broken dependencies on Debian (python-ldap instead of python3-ldap)
# - bareos-filedaemon-ldap-python-plugin
state: present
check_mode: true
diff: true
Expand Down
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ bareos_fd_plugin_list:

- name: ldap
packages:
- python3-ldap
- bareos-filedaemon-ldap-python-plugin

0 comments on commit e2750d8

Please sign in to comment.