summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorStefanie Forrester <sedgar@redhat.com>2015-09-08 16:31:35 -0700
committerStefanie Forrester <sedgar@redhat.com>2015-09-10 16:52:14 -0700
commitcdfd68f642c586d5d2bba7ff3c4721dc417717c1 (patch)
treecbecd37d86ae5d175ff9faec5ff938bbf70b3b0c /playbooks
parenta5011b9ad04c552a5fcda77d08cdb5fa77d40f01 (diff)
downloadopenshift-cdfd68f642c586d5d2bba7ff3c4721dc417717c1.tar.gz
openshift-cdfd68f642c586d5d2bba7ff3c4721dc417717c1.tar.bz2
openshift-cdfd68f642c586d5d2bba7ff3c4721dc417717c1.tar.xz
openshift-cdfd68f642c586d5d2bba7ff3c4721dc417717c1.zip
Create service accounts and set up scc rules
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/config.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 4a4a69f50..64cf7a65b 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -236,3 +236,12 @@
tasks:
- file: name={{ g_master_mktemp.stdout }} state=absent
changed_when: False
+
+- name: Configure service accounts
+ hosts: oo_first_master
+
+ vars:
+ accounts: ["router", "registry"]
+
+ roles:
+ - openshift_serviceaccounts