From de2fa14b28bf34207dcc21b698cea441d6e918bc Mon Sep 17 00:00:00 2001 From: Thomas Wiest Date: Mon, 23 Feb 2015 15:44:06 -0500 Subject: fixed bug when updating the openshift-master sysconfig file. Also, made it multi-line so we get better errors from ansible. --- roles/openshift_master/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/openshift_master') diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 96b889804..6f96a6cdb 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -13,7 +13,8 @@ regexp: "{{ item.regex }}" line: "{{ item.line }}" with_items: - - { regex: '^OPTIONS=', line: "OPTIONS=\"--public-master={{ oo_public_ip }} --nodes={{ oo_node_ips | join(",") }} --loglevel=5\"" } + - regex: '^OPTIONS=' + line: "OPTIONS=\"--public-master={{ oo_public_ip }} --nodes={{ oo_node_ips | join(',') }} --loglevel=5\"" notify: - restart openshift-master -- cgit v1.2.3