diff --git a/roles/ceph-container-common/tasks/pre_requisites/prerequisites.yml b/roles/ceph-container-common/tasks/pre_requisites/prerequisites.yml index e6d001a87..25910c515 100644 --- a/roles/ceph-container-common/tasks/pre_requisites/prerequisites.yml +++ b/roles/ceph-container-common/tasks/pre_requisites/prerequisites.yml @@ -99,6 +99,16 @@ - ansible_os_family == 'RedHat' - ansible_distribution_major_version == '8' +- name: start docker service + service: + name: docker + state: started + enabled: yes + tags: + with_pkg + when: not (ansible_os_family == 'RedHat' and + ansible_distribution_major_version == '8') + - name: ensure tmpfiles.d is present lineinfile: path: /etc/tmpfiles.d/ceph-common.conf