File tree Expand file tree Collapse file tree
templates/var/lib/ansible Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ mkdir -p /var/lib/os-apply-config/templates/var/lib/ansible/group_vars
22cat << 'EOF' > /var/lib/os-apply-config/templates/var/lib/ansible/group_vars/masters.yml
33num_infra : {{infra_count}}
44router_vip : {{router_vip}}
5- openshift_schedulable : true
5+ openshift_schedulable : false
66openshift_master_api_port : 8443
77{{#deploy_router}}
88openshift_hosted_router_selector : region=infra
Original file line number Diff line number Diff line change @@ -78,13 +78,6 @@ cat << 'EOF' > /var/lib/os-apply-config/templates/var/lib/ansible/playbooks/main
7878<%/router_vip % >
7979<%/deploy_router % >
8080
81- - hosts : masters[0]
82- sudo : yes
83- tasks :
84- - name : Disable scheduling on master nodes
85- shell : oadm manage-node {{ item }} --schedulable=false
86- with_items : " {{groups['masters']}}"
87-
8881- hosts : masters[0]
8982 sudo : yes
9083 tasks :
You can’t perform that action at this time.
0 commit comments