Skip to content

Commit

Permalink
Merge pull request #308 from droidben/fix-prerequisites
Browse files Browse the repository at this point in the history
Fix prerequisites in cephadm-preflight
  • Loading branch information
asm0deuz authored Jul 10, 2024
2 parents 40ce4c8 + 3be357e commit 8c7e6b9
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 8c7e6b9

Please sign in to comment.