mirror of https://github.com/ceph/ceph-ansible.git
create /etc/sysconfig/ceph if it doesn't already exist
parent
bca73c1ef1
commit
dc2fc3665e
|
@ -212,6 +212,7 @@
|
|||
lineinfile:
|
||||
dest: /etc/sysconfig/ceph
|
||||
insertafter: EOF
|
||||
create: yes
|
||||
line: "CLUSTER={{ cluster }}"
|
||||
when:
|
||||
ansible_os_family == "RedHat"
|
||||
|
@ -220,6 +221,7 @@
|
|||
lineinfile:
|
||||
dest: /etc/default/ceph/ceph
|
||||
insertafter: EOF
|
||||
create: yes
|
||||
line: "CLUSTER={{ cluster }}"
|
||||
when:
|
||||
ansible_os_family == "Debian"
|
||||
|
|
Loading…
Reference in New Issue