summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/vars
diff options
context:
space:
mode:
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 }}"