diff options
author | jctanner <tanner.jc@gmail.com> | 2017-10-12 10:20:33 -0400 |
---|---|---|
committer | Sam Doran <sdoran@ansible.com> | 2017-10-12 10:20:33 -0400 |
commit | c05a7add5fd4b65ec9e4223b9d7fb729bff3e427 (patch) | |
tree | e3f30e5486bfcd7cb5f17615932873fcd391395e /test/integration/targets/vmware_host | |
parent | b68fe2cd2359bc675087da786fb7028388aafe59 (diff) | |
download | ansible-c05a7add5fd4b65ec9e4223b9d7fb729bff3e427.tar.gz |
Only install pyvmomi if user is root (#31628)
Diffstat (limited to 'test/integration/targets/vmware_host')
-rw-r--r-- | test/integration/targets/vmware_host/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/targets/vmware_host/tasks/main.yml b/test/integration/targets/vmware_host/tasks/main.yml index db8456d5ba..59a71789df 100644 --- a/test/integration/targets/vmware_host/tasks/main.yml +++ b/test/integration/targets/vmware_host/tasks/main.yml @@ -20,6 +20,7 @@ pip: name: pyvmomi state: latest + when: "{{ ansible_user_id == 'root' }}" - name: store the vcenter container ip set_fact: |