Ansible inventory from a json file served via github pages
The url of your inventory file and the path to the inventory.sh script
export INVENTORY_URL=https://darren-rose.github.io/ansible-inventory/inventory.json
export ANSIBLE_HOSTS=/path-to/inventory.sh
ansible --list-hosts webservers
ansible -m ping databases
ansible-playbook -e "hosts=databases" hostname.yml
ansible-playbook -e "hosts=databases,webservers" hostname.yml
ansible-playbook -e "hosts=host6.example.com" hostname.yml