If an AWS account does not have a default subnet in their VPC configuration, then creating instances in that VPC will not automatically provide a public IP/DNS. Boto added this functionality in 2.13.0 (NetworkInterfaceSpecification.associate_public_ip_address).

This change adds assign_pubic_ip as a parameter to the ec2 module, ensuring that it is not set to one of BOOLEANS_TRUE if vpc_subnet_id is not also set, and if Boto is less than 2.13.0.
Exit 0 with no matched hosts

And also print to stdout not err

This lines up with how ansible-playbook will exit. 0 in the case of no
matched hosts. This makes it easier to script ansible commands w/
variable iventory input which may or may not have an entry for the
specific ansible task being scripted. No matched hosts is acceptable,
but matched hosts w/ failures is not.
Improved documentation of `mount` module

Mentioning the fact that mount point directories are created and
removed.
Fix for documentation playbook loops

if key is used with lookup parameter that needs to be in quotes as
otherwise it will load "ssh-rsa" "<the key>" "<the comment>" as separate
values and fail with "this module requires key=value arguments"
Updated Fix for documentation playbook loops

if key is used with lookup parameter needs quotes as
otherwise it will load "ssh-rsa" "<the key>" "<the comment>" as separate
values and fail with "this module requires key=value arguments"
Merge pull request #5046 from JensRantil/improve-mount-doc

mention that the mount module will remove mount directories
Merge pull request #5074 from pcraston/devel

Fix for documentation playbook loops
Update README.md

Add PyPi version badge.
Fix "manual" ansible-playbook example in guide_vagrant.rst

The given example is trying to load an inventory file with the -i option, so it should probably be given the actual Vagrant-written inventory file name. I contemplated using 'vagrant_ansible_inventory_default' instead (which is what my Vagrant demo actually creates) but 'vagrant_ansible_inventory_machinename' is more consistent with the existing example in the docs.
Merge pull request #5120 from mechfish/patch-1

Fix "manual" ansible-playbook example in guide_vagrant.rst
Merge pull request #4502 from dxsarmit/ansible

New library/cloud/ec2 module parameter (assign_public_ip) for non-default VPC instance launching.
Fixes #4796 handle unicodedecode errors from dmidecode output
Merge pull request #4817 from j2sol/zero-exit

Exit 0 with no matched hosts
Merge remote-tracking branch 'upstream/devel' into ansible_ssh_alt