mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #685 from bengland2/create-sysconfig-ceph
create /etc/sysconfig/ceph if it doesn't already existpull/696/head
commit
b79e7287cc
|
@ -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