summaryrefslogtreecommitdiffstats
path: root/roles/kubernetes_apiserver/tasks
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-02-05 16:02:00 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2015-02-05 16:02:00 -0500
commit04343e7588118359d178fa63554909efb222648a (patch)
tree21ae9b09d447700b13e91acf3308748d3a6af8fd /roles/kubernetes_apiserver/tasks
parent076434d7a1026540f0eee5479adddc895d73b9b0 (diff)
parentddf12084e107152f70f7cad82bd1fcdb54880db3 (diff)
downloadopenshift-04343e7588118359d178fa63554909efb222648a.tar.gz
openshift-04343e7588118359d178fa63554909efb222648a.tar.bz2
openshift-04343e7588118359d178fa63554909efb222648a.tar.xz
openshift-04343e7588118359d178fa63554909efb222648a.zip
Merge pull request #53 from twiest/atomic
Changed os2-atomic-proxy to be able to launch inside of both a vpc and classic. Changed STG to default to launching in a vpc, prod still launches in classic. Also cleaned up some cruft.
Diffstat (limited to 'roles/kubernetes_apiserver/tasks')
-rw-r--r--roles/kubernetes_apiserver/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/kubernetes_apiserver/tasks/main.yml b/roles/kubernetes_apiserver/tasks/main.yml
index 622ecd5ca..81fdbbb40 100644
--- a/roles/kubernetes_apiserver/tasks/main.yml
+++ b/roles/kubernetes_apiserver/tasks/main.yml
@@ -4,10 +4,10 @@
yum: pkg=kubernetes
- name: Configure apiserver settings
- lineinfile: >
- dest=/etc/sysconfig/kubernetes
- regexp={{ item.regex }}
- line="{{ item.line }}"
+ lineinfile:
+ dest: /etc/sysconfig/kubernetes
+ regexp: "{{ item.regex }}"
+ line: "{{ item.line }}"
with_items:
- { regex: '^KUBE_API_MACHINES=', line: 'KUBE_API_MACHINES=\"{{ oo_minion_ips | join(",") }}\"' }
- { regex: '^KUBE_API_ADDRESS=', line: 'KUBE_API_ADDRESS=\"0.0.0.0\"' }