Skip to content

Commit

Permalink
Merge pull request #309 from ceph/mergify/bp/reef/pr-308
Browse files Browse the repository at this point in the history
Fix prerequisites in cephadm-preflight (backport #308)
  • Loading branch information
asm0deuz authored Jul 11, 2024
2 parents 4e7e31e + 06da700 commit 84b774d
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 84b774d

Please sign in to comment.