Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prerequisites in cephadm-preflight #284

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions ceph_defaults/defaults/main.yml
Expand Up @@ -20,5 +20,6 @@ ceph_client_pkgs:
infra_pkgs:
- chrony
- podman
- lvm2
- sos
client_group: clients
5 changes: 2 additions & 3 deletions cephadm-preflight.yml
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,8 +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
service:
Expand Down