Merge "Gate: Restrict Ansible fact gathering to base subset"

This commit is contained in:
Jenkins 2016-06-21 14:13:23 +00:00 committed by Gerrit Code Review
commit f603bd629f

View File

@ -39,10 +39,10 @@ info_block "Checking for required libraries." 2> /dev/null || source $(dirname $
# Initiate the deployment # Initiate the deployment
pushd "playbooks" pushd "playbooks"
ansible -m setup localhost ansible localhost -m setup -a 'gather_subset=!facter,!ohai'
if [ "${DEPLOY_HOST}" == "no" ]; then if [ "${DEPLOY_HOST}" == "no" ]; then
ansible -m setup all ansible all -m setup -a 'gather_subset=!facter,!ohai'
fi fi
if [ "${DEPLOY_HOST}" == "yes" ]; then if [ "${DEPLOY_HOST}" == "yes" ]; then
@ -74,7 +74,7 @@ pushd "playbooks"
# Create the containers. # Create the containers.
install_bits lxc-containers-create.yml install_bits lxc-containers-create.yml
ansible -m setup all ansible all -m setup -a 'gather_subset=!facter,!ohai'
# Log some data about the instance and the rest of the system # Log some data about the instance and the rest of the system
log_instance_info log_instance_info