Explorar o código

fixed bug when updating the openshift-master sysconfig file. Also, made it multi-line so we get better errors from ansible.

Thomas Wiest %!s(int64=10) %!d(string=hai) anos
pai
achega
de2fa14b28
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      roles/openshift_master/tasks/main.yml

+ 2 - 1
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