summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/vars
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-11 11:11:40 -0400
committerGitHub <noreply@github.com>2017-08-11 11:11:40 -0400
commit57d7984bc7d7f64184c0defd3cc305cb3ef2708f (patch)
tree734acee065d7f2b7776e047d5e630b10a3480515 /roles/nuage_master/vars
parentd25db0f66934ef08c802090be6f433a7035d3fd5 (diff)
parent6a42094535d9f06ef120f7c4999ea51d51437fc3 (diff)
downloadopenshift-57d7984bc7d7f64184c0defd3cc305cb3ef2708f.tar.gz
openshift-57d7984bc7d7f64184c0defd3cc305cb3ef2708f.tar.bz2
openshift-57d7984bc7d7f64184c0defd3cc305cb3ef2708f.tar.xz
openshift-57d7984bc7d7f64184c0defd3cc305cb3ef2708f.zip
Merge pull request #3905 from kwoodson/nuage_idempotency
[nuage_master] Adding module calls instead of command for idempotency.
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 }}"