Преглед на файлове

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

Thomas Wiest преди 10 години
родител
ревизия
de2fa14b28
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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