summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-02 11:19:04 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-03-02 11:19:06 -0500
commit00d33ccc0f22e81ee471188ffabe9f3bea1f0244 (patch)
treec031720cf43a851dc4f950d185ea90286a35e257 /roles/openshift_master/tasks
parente55ef121003649cfe72bb51c6d51a492898f328a (diff)
downloadopenshift-00d33ccc0f22e81ee471188ffabe9f3bea1f0244.tar.gz
openshift-00d33ccc0f22e81ee471188ffabe9f3bea1f0244.tar.bz2
openshift-00d33ccc0f22e81ee471188ffabe9f3bea1f0244.tar.xz
openshift-00d33ccc0f22e81ee471188ffabe9f3bea1f0244.zip
Prefer YAML style datastructures over JSON
- Switch JSON style datastructures to YAML for debuggability
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml27
1 files changed, 19 insertions, 8 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 0b3842856..6c318efce 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -5,12 +5,17 @@
- name: Configure firewall for OpenShift Master
include: "{{ role_path | dirname }}/openshift_common/tasks/firewall.yml"
allow:
- - { service: etcd embedded, port: 4001/tcp}
- - { service: etcd peer, port: 7001/tcp}
- - { service: OpenShift api https, port: 8443/tcp}
- - { service: OpenShift web console https, port: 8444/tcp}
+ - service: etcd embedded
+ port: 4001/tcp
+ - service: etcd peer
+ port: 7001/tcp
+ - service: OpenShift api https
+ port: 8443/tcp
+ - service: OpenShift web console https
+ port: 8444/tcp
deny:
- - { service: OpenShift api http, port: 8080/tcp }
+ - service: OpenShift api http
+ port: 8080/tcp
- name: Configure OpenShift settings
lineinfile:
@@ -33,9 +38,15 @@
- name: Set master OpenShift facts
include: "{{ role_path | dirname }}/openshift_common/tasks/set_facts.yml"
facts:
- - { section: master, option: debug_level, value: "{{ openshift_master_debug_level }}" }
- - { section: master, option: public_ip, value: "{{ openshift_public_ip }}" }
- - { section: master, option: externally_managed, value: "{{ openshift_master_manage_service_externally }}" }
+ - section: master
+ option: debug_level
+ value: "{{ openshift_master_debug_level }}" }
+ - section: master
+ option: public_ip
+ value: "{{ openshift_public_ip }}" }
+ - section: master
+ option: externally_managed
+ value: "{{ openshift_master_manage_service_externally }}" }
- name: Start and enable openshift-master
service: name=openshift-master enabled=yes state=started