summaryrefslogtreecommitdiffstats
path: root/roles/openshift_manageiq/tasks
diff options
context:
space:
mode:
authorErez Freiberger <efreiber@redhat.com>2016-03-09 11:59:46 +0200
committerErez Freiberger <efreiber@redhat.com>2016-03-24 16:00:02 +0200
commit8bf8728bad2c15f3f9bd69ed4f336c7b28eae408 (patch)
tree2c0d8057392cc272f81826662a199d7f16880aa7 /roles/openshift_manageiq/tasks
parent394cb8776bdd7ece0258fd9d3b33ccbd95473b51 (diff)
downloadopenshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.tar.gz
openshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.tar.bz2
openshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.tar.xz
openshift-8bf8728bad2c15f3f9bd69ed4f336c7b28eae408.zip
ManageIQ SA: Adding image-puller role
Diffstat (limited to 'roles/openshift_manageiq/tasks')
-rw-r--r--roles/openshift_manageiq/tasks/main.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/roles/openshift_manageiq/tasks/main.yaml b/roles/openshift_manageiq/tasks/main.yaml
index d2ff1b4b7..2a651df65 100644
--- a/roles/openshift_manageiq/tasks/main.yaml
+++ b/roles/openshift_manageiq/tasks/main.yaml
@@ -18,7 +18,7 @@
failed_when: "'already exists' not in osmiq_create_mi_project.stderr and osmiq_create_mi_project.rc != 0"
changed_when: osmiq_create_mi_project.rc == 0
-- name: Create Service Account
+- name: Create Admin Service Account
shell: >
echo {{ manageiq_service_account | to_json | quote }} |
{{ openshift.common.client_binary }} create
@@ -29,6 +29,17 @@
failed_when: "'already exists' not in osmiq_create_service_account.stderr and osmiq_create_service_account.rc != 0"
changed_when: osmiq_create_service_account.rc == 0
+- name: Create Image Inspector Service Account
+ shell: >
+ echo {{ manageiq_image_inspector_service_account | to_json | quote }} |
+ {{ openshift.common.client_binary }} create
+ -n management-infra
+ --config={{manage_iq_tmp_conf}}
+ -f -
+ register: osmiq_create_service_account
+ failed_when: "'already exists' not in osmiq_create_service_account.stderr and osmiq_create_service_account.rc != 0"
+ changed_when: osmiq_create_service_account.rc == 0
+
- name: Create Cluster Role
shell: >
echo {{ manageiq_cluster_role | to_json | quote }} |