1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Only install pyvmomi if user is root (#31628)

This commit is contained in:
jctanner 2017-10-12 10:20:33 -04:00 committed by Sam Doran
parent b68fe2cd23
commit c05a7add5f
11 changed files with 11 additions and 0 deletions

View file

@ -20,6 +20,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -20,6 +20,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -20,6 +20,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -20,6 +20,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -6,6 +6,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -7,6 +7,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -20,6 +20,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -7,6 +7,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -20,6 +20,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -21,6 +21,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact:

View file

@ -7,6 +7,7 @@
pip: pip:
name: pyvmomi name: pyvmomi
state: latest state: latest
when: "{{ ansible_user_id == 'root' }}"
- name: store the vcenter container ip - name: store the vcenter container ip
set_fact: set_fact: