Skip to content

Commit

Permalink
preflight: chrony missing in Ubuntu prerequisites
Browse files Browse the repository at this point in the history
Signed-off-by: Teoman ONAY <[email protected]>
  • Loading branch information
asm0deuz committed Dec 6, 2023
1 parent e4cb989 commit a6d436e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cephadm-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,17 @@

- name: install prerequisites packages
apt:
name: "{{ ['python3','cephadm','ceph-common'] }}"
name: "{{ ['python3','chrony'] + ceph_pkgs }}"
state: "{{ (upgrade_ceph_packages | bool) | ternary('latest', 'present') }}"
update_cache: true
register: result
until: result is succeeded

- name: ensure chronyd is running
service:
name: chronyd
state: started
enabled: true

- name: install container engine
block:
Expand Down

0 comments on commit a6d436e

Please sign in to comment.