create /etc/sysconfig/ceph if it doesn't already exist

pull/685/head
Ben England 2016-04-05 21:33:05 -04:00
parent bca73c1ef1
commit dc2fc3665e
1 changed files with 2 additions and 0 deletions

View File

@ -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"