Skip to content

Instantly share code, notes, and snippets.

@tadeboro
Created April 28, 2020 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadeboro/fa68c02eaa65563a1f14f8eec59ea2c8 to your computer and use it in GitHub Desktop.
Save tadeboro/fa68c02eaa65563a1f14f8eec59ea2c8 to your computer and use it in GitHub Desktop.
Test setup for community.vmware collection
#!/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