Merge pull request #685 from bengland2/create-sysconfig-ceph

create /etc/sysconfig/ceph if it doesn't already exist
pull/696/head
Leseb 2016-04-06 13:21:00 +02:00
commit b79e7287cc
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"