Skip to content

Commit ba46f99

Browse files
authored
Merge pull request #1616 from stackhpc/ceph-facts
Fix Ceph release conditional
2 parents cbca068 + cc989c2 commit ba46f99

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

etc/kayobe/cephadm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Cephadm deployment configuration.
44

55
# Ceph release name.
6-
cephadm_ceph_release: "{{ 'squid' if (ansible_facts['distribution_release'] == 'noble') else 'reef' }}"
6+
cephadm_ceph_release: "{{ 'squid' if os_release == 'noble' else 'reef' }}"
77

88
# Ceph FSID.
99
#cephadm_fsid:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
The Ceph version is now determined by ``os_release``, rather
5+
than Ansible facts. Using Ansible facts caused playbooks to fail when
6+
facts are not gathered.

0 commit comments

Comments
 (0)