summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-02-23 15:44:06 -0500
committerThomas Wiest <twiest@redhat.com>2015-02-23 15:44:06 -0500
commitde2fa14b28bf34207dcc21b698cea441d6e918bc (patch)
tree150dbbeb9eebc3e44b9cf0830ebe2955b5497fe8 /roles
parent89528214cdaf8cad7321079f573d844db7004b71 (diff)
downloadopenshift-de2fa14b28bf34207dcc21b698cea441d6e918bc.tar.gz
openshift-de2fa14b28bf34207dcc21b698cea441d6e918bc.tar.bz2
openshift-de2fa14b28bf34207dcc21b698cea441d6e918bc.tar.xz
openshift-de2fa14b28bf34207dcc21b698cea441d6e918bc.zip
fixed bug when updating the openshift-master sysconfig file. Also, made it multi-line so we get better errors from ansible.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
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