dump_settings: gather remote host info before dumping

dump_settings fails to write settings file when any of the
variables are not initialized like the one below.
    CONFIG_COMPUTE_HOSTS: '{{ hostvars[compute_name].private_ip }}

Running get_nodes should solve most of the foreseeable issues and
would only be run when 'dev' tags is specified. To dump_settings
without getting_nodes, use - 'dump_settings' tag.

Change-Id: Ifcc122f5e7a722787faaf90e99bea8ad01b77862
packstack/multinode: do not use sudo for tasks on localhost

Change-Id: I3e554e8c0a1466b4ded3c20b587a2a4a0176ee28
Make json dumps in stdstreams pretty

Change-Id: If37e16cce7a57e7e6215dd50c5aa8a859e86fcf9
hide collect logs, and teardown in the console, send to a log

Save the ansible out of collect logs and teardown to a file
instead of logging it to the ansible console.  This is part
of an effort to make the console logs more human readable.

Change-Id: Ida24ce722d2324891f2ac857664ecb3834944b5c
Fixes instack-install-undercloud-packages error

Also removes check for install log file.

Change-Id: Id56c65992c29566ef842c01a0f181c34c91bd55b
move tempest_rhosqe outside a run w/o tags for packstack

* To execute a run on tempest_rhosqe the use of tags will
  still be required
* Executing aio.yml on its own will not require tags

Change-Id: I8b226bfe2abe32a5722ef684c8e881ebcd146c26
Removes deploying Swift node on the baremetal overcloud.

As hardware contraints have it, we need to hold off on
deploying all overcloud nodes by default.

Change-Id: I437dac7e38c74b9c23201a7a8bdda79428072496
Uses repo.settings to store rpm link for install

Removes the repo link specifically added to the
defaults/main.yml for virt install.

Change-Id: I2eaaadc6327eceacbaf229efd702d37d578bf00e
Fixes a typo in 'source stackrc'

The reference to /home/stack/stackrc was missing
a {. Added that back.

Change-Id: I0bc8608430f640cc7b9a618f7eb05fc2bfe5be66
Use the shell module instead of command to properly escape the parameters

Another possible way would have been the removel of escape characters, but
this way the command line is close to the one in the documentation.

Change-Id: I4f89552bff8984f4cdf715f2fa0c37b4f4b9d497
Major reworking of network setup code

This is a major refactor of network setup. There are some slight config
changes necessary. net_interfaces and bridge_interfaces must be added to
your node definitions. This is already done in khaleesi-settings for
existing setups.

* update
  - changed topic

Change-Id: I7eb026316528e07cb79db86545ca52692b57d510
collect_logs role: use shell module to get file wildcard expanded

Change-Id: I2901af12fad3ffe9e68a13198768b09d44f38b6a
remove default network names

Change-Id: I57dab07142d7b344f3f293f1c930c1b97fa646a8
function.bash was missing some of the options available from settings.py

** added *-variable

Change-Id: Idf6090552c08e8fbfb07629602ac0601273d992f
move group_by prior to network-setup

Change-Id: Id854a61f904fe9af483a0d71c818fbc6c6e60d50
Uses ansible stat to determine if files exist

Previously we used -e but that errors when the file
does not exist. This is a cleaner solution for
checking file existence when switching between
virt and baremetal.

Change-Id: I88261ef92a9b4e65be9dfa2413c23f349b0cf5d8
ksgen/configure: patch and test configure lib

Change-Id: Ia944e958ad92506c3c94647d8dd2e5d29cd270d8