|
@@ -27,7 +27,7 @@
|
|
|
regexp: "{{ item.regex }}"
|
|
|
line: "{{ item.line }}"
|
|
|
with_items:
|
|
|
- - { regex: '^OPTIONS=', line: 'OPTIONS=\"--master=http://{{ oo_master_ips[0] }}:8080 --loglevel=5\"' }
|
|
|
+ - { regex: '^OPTIONS=', line: 'OPTIONS=\"--master=https://{{ oo_master_ips[0] }}:8443 --loglevel=5\"' }
|
|
|
notify:
|
|
|
- restart openshift-node
|
|
|
|
|
@@ -37,7 +37,8 @@
|
|
|
- name: Save firewalld port for OpenShift
|
|
|
firewalld: port=10250/tcp permanent=true state=enabled
|
|
|
|
|
|
+ # Always bounce service to pick up new credentials
|
|
|
- name: Enable OpenShift
|
|
|
- service: name=openshift-node enabled=yes state=started
|
|
|
+ service: name=openshift-node enabled=yes state=restarted
|
|
|
|
|
|
- local_action: file name={{ mktemp.stdout }} state=absent
|