install -r roles/sky_joker.ansible_vmware_govcsim_provisioner/requirements.txt # vi main.yml --- - name: vcsim provisioning playbook hosts: localhost gather_facts: no roles: - sky_joker.ansible_vmware_govcsim_provisioner # ansible-playbook main.yml (snip) TASK [sky_joker.ansible_vmware_govcsim_provisioner : debug] ******************************************************************************* ok: [localhost] => { "starte_up_govcsim_result.json": { "GOVC_URL": "https://user:
[email protected]:443", "cmd": "/go/bin/vcsim -httptest.serve 172.17.0.2:443 -app=0 -cluster=0 -dc=1 -ds=1 -folder=1 -host=3 - pg=1 -pod=1 -pool=1 -vm=2 > vcsim.log 2>&1", "host": "172.17.0.2", "password": "pass", "pid": 6, "port": 443, "username": "user" } }