summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/vars
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-04-10 16:23:53 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-04-10 16:23:53 -0400
commit098581f354f936b80a1422210b910610cef2bae1 (patch)
tree3eccac6ca1104830e67efa61e5f48ce10cb66c2f /roles/nuage_master/vars
parentde6629addd794c6daaf018943097cc0d6aba5b23 (diff)
downloadopenshift-098581f354f936b80a1422210b910610cef2bae1.tar.gz
openshift-098581f354f936b80a1422210b910610cef2bae1.tar.bz2
openshift-098581f354f936b80a1422210b910610cef2bae1.tar.xz
openshift-098581f354f936b80a1422210b910610cef2bae1.zip
Updated to use modules instead of command for user permissions.
Diffstat (limited to 'roles/nuage_master/vars')
-rw-r--r--roles/nuage_master/vars/main.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/nuage_master/vars/main.yaml b/roles/nuage_master/vars/main.yaml
index 651d5775c..57d5d2595 100644
--- a/roles/nuage_master/vars/main.yaml
+++ b/roles/nuage_master/vars/main.yaml
@@ -23,4 +23,6 @@ nuage_master_crt_dir: /usr/share/nuage-openshift-monitor
nuage_service_account: system:serviceaccount:default:nuage
nuage_tasks:
- - policy add-cluster-role-to-user cluster-reader {{ nuage_service_account }}
+- resource_kind: cluster-role
+ resource_name: cluster-reader
+ user: "{{ nuage_service_account }}"