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.
Added `-y` flag to `query_package`

* library/packaging/pkgin:

Signed-off-by: giorgio-v <giorgio@refactor.it>
Add ansible.module_utils.rax
Fixed hostname module for RHEL6 Workstation
Fix checking for existence of EC2 tags
rewrite options to dict parser, fixes #5032
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 pull request #4938 from giorgio-v/pkgin_y_default

Added `-y` flag to `query_package`
Merge pull request #4996 from sivel/rax-module-utils

Implement ansible.module_utils.rax
Fixes #5023 Convert all modules to use new snippet import pattern
Addresses #5023 Fix import comments
Merge pull request #5063 from samh/devel

Fixed hostname module for RHEL6 Workstation
Merge pull request #5107 from maetthu/devel

authorized_key module: rewrite options to dict parser, fixes #5032
Merge pull request #5078 from brandonhilkert/fix-ec2-tags

Fix checking for existence of EC2 tags