Skip to content

Commit

Permalink
added lvm2 to infra packages
Browse files Browse the repository at this point in the history
fixed conditionals for installing prerequisites
fixed installing client prerequisites

Signed-off-by: Ben Dätwyler <[email protected]>
(cherry picked from commit 3be357e)
  • Loading branch information
droidben authored and mergify[bot] committed Jul 10, 2024
1 parent 4e7e31e commit 06da700
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ceph_defaults/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ ceph_client_pkgs:
infra_pkgs:
- chrony
- podman
- lvm2
- sos
client_group: clients
4 changes: 2 additions & 2 deletions cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
command: dnf config-manager --set-enabled "{{ 'powertools' if ansible_facts['distribution_major_version'] == '8' else 'crb' }}"
changed_when: false

- name: install package
- name: install epel package
package:
name: epel-release
state: present
Expand Down Expand Up @@ -205,7 +205,7 @@
state: "{{ (upgrade_ceph_packages | bool) | ternary('latest', 'present') }}"
register: result
until: result is succeeded
when: group_names == [client_group]
when: client_group in group_names


- name: ensure chronyd is running
Expand Down

0 comments on commit 06da700

Please sign in to comment.