Created
April 28, 2020 11:01
-
-
Save tadeboro/fa68c02eaa65563a1f14f8eec59ea2c8 to your computer and use it in GitHub Desktop.
Test setup for community.vmware collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir vmware && cd vmware | |
mkdir -p collections/ansible_collections/community | |
git clone \ | |
--depth=1 \ | |
https://github.com/ansible-collections/vmware.git \ | |
collections/ansible_collections/community/vmware | |
cat << EOF > play.yaml | |
--- | |
- hosts: localhost | |
gather_facts: false | |
tasks: | |
- community.vmware.vmware_guest_info: | |
datacenter: invalid | |
EOF | |
ansible-playbook play.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment