summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cfme/tasks/accounts.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-09 10:56:43 -0400
committerGitHub <noreply@github.com>2017-10-09 10:56:43 -0400
commitfced8262d239d1d44ce64a5c6d02caa1530c5d45 (patch)
treed50659fa9b1fd4ab41ae611edf1f65b52c4fd5e9 /roles/openshift_cfme/tasks/accounts.yml
parentb37c5e648736c11913c56ee2b9620920ef42e99e (diff)
parentc0f63fb902b53bc592e6862d5876af9b244ee82b (diff)
downloadopenshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.tar.gz
openshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.tar.bz2
openshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.tar.xz
openshift-fced8262d239d1d44ce64a5c6d02caa1530c5d45.zip
Merge pull request #5682 from tbielawa/openshift_management
Rename openshift_cfme role to openshift_management
Diffstat (limited to 'roles/openshift_cfme/tasks/accounts.yml')
-rw-r--r--roles/openshift_cfme/tasks/accounts.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/roles/openshift_cfme/tasks/accounts.yml b/roles/openshift_cfme/tasks/accounts.yml
deleted file mode 100644
index 64976cd0e..000000000
--- a/roles/openshift_cfme/tasks/accounts.yml
+++ /dev/null
@@ -1,28 +0,0 @@
----
-# This role task file is responsible for user/system account creation,
-# and ensuring correct access is provided as required.
-- name: Ensure the CFME system accounts exist
- oc_serviceaccount:
- namespace: "{{ openshift_cfme_project }}"
- state: present
- name: "{{ openshift_cfme_flavor_short }}{{ item.name }}"
- with_items:
- - "{{ __openshift_system_account_sccs }}"
-
-- name: Ensure the CFME system accounts have all the required SCCs
- oc_adm_policy_user:
- namespace: "{{ openshift_cfme_project }}"
- user: "system:serviceaccount:{{ openshift_cfme_project }}:{{ openshift_cfme_flavor_short }}{{ item.name }}"
- resource_kind: scc
- resource_name: "{{ item.resource_name }}"
- with_items:
- - "{{ __openshift_system_account_sccs }}"
-
-- name: Ensure the CFME system accounts have the required roles
- oc_adm_policy_user:
- namespace: "{{ openshift_cfme_project }}"
- user: "system:serviceaccount:{{ openshift_cfme_project }}:{{ openshift_cfme_flavor_short }}{{ item.name }}"
- resource_kind: role
- resource_name: "{{ item.resource_name }}"
- with_items:
- - "{{ __openshift_cfme_system_account_roles }}"