Quellcode durchsuchen

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

Thomas Wiest vor 10 Jahren
Ursprung
Commit
de2fa14b28
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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