summaryrefslogtreecommitdiffstats
path: root/roles/kuryr
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2018-02-12 14:50:09 -0500
committerGitHub <noreply@github.com>2018-02-12 14:50:09 -0500
commit79a487da0a4eeb10776ad312debacf603189ef04 (patch)
tree0fd389478a61f77c9fbab30de11c1cb0bb936fbf /roles/kuryr
parentf9f61beed982ba841c872b5fc082c6dc05ad27b1 (diff)
parentb9bef842c1e0010fdbabaee51cdd5a5defa2e5a3 (diff)
downloadopenshift-79a487da0a4eeb10776ad312debacf603189ef04.tar.gz
openshift-79a487da0a4eeb10776ad312debacf603189ef04.tar.bz2
openshift-79a487da0a4eeb10776ad312debacf603189ef04.tar.xz
openshift-79a487da0a4eeb10776ad312debacf603189ef04.zip
Merge pull request #6476 from jihoon5/jihoon5
Support master node high availability
Diffstat (limited to 'roles/kuryr')
-rw-r--r--roles/kuryr/tasks/master.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/kuryr/tasks/master.yaml b/roles/kuryr/tasks/master.yaml
index 1cc6d2375..4f9dd82de 100644
--- a/roles/kuryr/tasks/master.yaml
+++ b/roles/kuryr/tasks/master.yaml
@@ -1,6 +1,7 @@
---
- name: Perform OpenShift ServiceAccount config
include_tasks: serviceaccount.yaml
+ run_once: true
- name: Create kuryr manifests tempdir
command: mktemp -d
@@ -32,6 +33,7 @@
namespace: "{{ kuryr_namespace }}"
files:
- "{{ manifests_tmpdir.stdout }}/configmap.yaml"
+ run_once: true
- name: Apply Controller Deployment manifest
oc_obj:
@@ -41,6 +43,7 @@
namespace: "{{ kuryr_namespace }}"
files:
- "{{ manifests_tmpdir.stdout }}/controller-deployment.yaml"
+ run_once: true
- name: Apply kuryr-cni DaemonSet manifest
oc_obj:
@@ -50,3 +53,4 @@
namespace: "{{ kuryr_namespace }}"
files:
- "{{ manifests_tmpdir.stdout }}/cni-daemonset.yaml"
+ run_once: true