- name: make sure pyvmomi is installed pip: name: pyvmomi state: latest when: "{{ ansible_user_id == 'root' }}" - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" - debug: var=vcsim - include: poweroff_d1_c1_f0.yml - include: poweroff_d1_c1_f1.yml - include: clone_d1_c1_f0.yml - include: create_d1_c1_f0.yml