mirror of https://github.com/ceph/ceph-ansible.git
container-common: Enable docker on boot for ubuntu
docker daemon is automatically started during package installation but the service isn't enabled on boot. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/3828/head
parent
57b4e76d11
commit
37816570c6
|
@ -78,14 +78,6 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: start docker service
|
||||
service:
|
||||
name: docker
|
||||
state: started
|
||||
enabled: yes
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: red hat 8 based systems tasks
|
||||
when:
|
||||
- ansible_distribution_major_version == '8'
|
||||
|
@ -99,6 +91,16 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue