Skip to content

Commit

Permalink
Merge pull request #12 from adfinis/feat/bareos24
Browse files Browse the repository at this point in the history
feat: switch to Bareos v24
  • Loading branch information
adf-patrickha authored Feb 7, 2025
2 parents f40a323 + 502083a commit d992756
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bareos_repository_release: current

# The version of Bareos to install.
# Only affects `bareos_repository_type: subscription`.
bareos_repository_version: 23
bareos_repository_version: 24

# You can enable tracebacks for troubleshooting purposes.
bareos_repository_enable_tracebacks: false
7 changes: 4 additions & 3 deletions meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

argument_specs:
main:
short_description: "Setup the bareos repositories."
short_description: "Setup the Bareos repositories."
description: >
Install the BareOS repositories.
Install the Bareos repositories.
After applying this role, you can install bareos packages.
author: Adfinis
options:
Expand All @@ -31,9 +31,10 @@ argument_specs:
- current
- next
- release
- testing
bareos_repository_version:
type: "int"
default: 23
default: 24
description: "The version of Bareos to install. Only affects `bareos_repository_type: subscription`."
bareos_repository_enable_tracebacks:
type: "bool"
Expand Down
4 changes: 2 additions & 2 deletions tasks/assert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
ansible.builtin.assert:
that:
- bareos_repository_release is defined
- bareos_repository_release in [ "current", "next", "release" ]
- bareos_repository_release in [ "current", "next", "release", "testing" ]
quiet: yes

- name: assert | Test bareos_repository_version
ansible.builtin.assert:
that:
- bareos_repository_version is defined
- bareos_repository_version is number
- bareos_repository_version in [ 20, 21, 22, 23 ]
- bareos_repository_version in [ 20, 21, 22, 23, 24 ]
quiet: yes
when:
- bareos_repository_type == "subscription"
Expand Down

0 comments on commit d992756

Please sign in to comment.