mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #2096 from andymcc/regex_defaults
Add regexp check for setting CLUSTER_NAMEpull/2019/merge
commit
751da93b08
|
@ -5,6 +5,7 @@
|
|||
insertafter: EOF
|
||||
create: yes
|
||||
line: "CLUSTER={{ cluster }}"
|
||||
regexp: "^CLUSTER="
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
|
||||
|
@ -32,6 +33,7 @@
|
|||
dest: /etc/default/ceph
|
||||
insertafter: EOF
|
||||
create: yes
|
||||
regexp: "^CLUSTER="
|
||||
line: "CLUSTER={{ cluster }}"
|
||||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
|
@ -43,6 +45,7 @@
|
|||
dest: /etc/default/ceph/ceph
|
||||
insertafter: EOF
|
||||
create: yes
|
||||
regexp: "^CLUSTER="
|
||||
line: "CLUSTER={{ cluster }}"
|
||||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
|
|
Loading…
Reference in New Issue