Adding roles and playbook for instack

This commit adds the roles for instack undercloud install.
The roles to deploy the overcloud, launch an instance in
the overcloud and run tests will be in separate commits.

Change-Id: Ic6cdcbafdfe7dcffa2f41fe3523ca04cb76fef1b
pass correct variables to create rc

Change-Id: I425847d2b09ffc574d41ba413d16667766c5b7d1
packstack cleanup, add debug

Change-Id: I13f316e833f2c792f5be86cf86095f9f5ba8715d
Adding roles to deploy the overcloud with instack

This commit adds the roles and playbook entries to
prepare and deploy the overcloud. Roles to test the
overcloud will be in a separate commit.
It also adds common defaults and tasks for the stack
user as this will be duplicated in deploying the
overcloud and testing it.

Change-Id: I3c612fe72f186af5ea2b241c22664ef14b1fb216
cleanup on multinode ssh-keys

Change-Id: I8eb1869c3d330d8093d503299e2607346cbc6aca
Add entries to gitignore for hosts and inventory files

Change the hosts line to *hosts (to catch foo_hosts), and add inventory*
to .gitignore

Remove inventory directory that should not have been there

Change-Id: I364fceb7f3679e85bb16fa8e015629f92c0175ee
Adding roles to test the deployed overcloud

This commit adds the final part of instack workflow:
install undercloud, prepare overcloud, deploy
overcloud and test overcloud by launching an
instance in it.

Change-Id: I2f4c50a4bf460ba52d073afad7b641595a30fbc1
Install screen and tmux also on the undercloud

User is expected to connect via ssh directly to the undercloud VM from
their workstation, so they might want to run tmux/screen inside that
session so that they can have e.g. one tab for API process, one tab
for UI process, etc.

Change-Id: Ic77536edef02a412b036cb264641eee71511691e
workaround for broken rhel6 sysrepos

Change-Id: I37c6dbc10721cba50f305d20162adb89235d80e9
fix for rel-eng sysrepo issues

the sysrepos have an update postgres-devel rpm that
is not in the metadata. Ticket in, but this workaround
should fix

Change-Id: Id0a43430489d9d10daf9cc96ad3751481b5b328a
remove tempest config from basic settings

There are tempest settings in default and can be overriden
in the job_settings.yml. Not needed here

Change-Id: Ief1bd79d6d30ee49d3fb95f22e412eb625f1e899
ps, remove unneeded workaround

remove installa additional rpms
remove rhel repo settings from settings file

Change-Id: Ie557edd1e348803b305239625ca285e613e7d6aa
python module testtools is now required for tempest

Change-Id: I4c898aabe0359ca1c0772110fe057b619b0c2564
epel: use mirror list

Change-Id: I2687057d3189d1092a5c734635a6c598266aa85a
Leave rhel, epel repos intact

Jinja templates will update the repo file if it does not match.
There is no need to remove the yum repo.  rdo-release and puppet
are put down from the rdo-release rpm and should be removed in a
packstack role

Change-Id: I6d2cfd88de069e5ced4ff175bbb9f176cf0d5885
syntax check error

Change-Id: I45b7eb81a1725cedb58f34f863b585259f5e9a49
Only add optional repo manually when distro != 7.0

When distro version is RHEL 7, do not try to manually add the optional
repo, as it will come from subman.

Simplify the epel repository placement. Use the same template for RHEL
6 and 7, and select the url based on that inside the template.

Change-Id: Ibefe7ece5f318987c05e17506170b2677742de2b
add default tempest settings w/ branch variable

Change-Id: Icf4f441eb9a0cb993fe85bd82f9e250c9aa83472
less logging:

The verbosity of the ansible logging is causing the logs
to be unreadable. Turning down the verbosity for the general
public.  Also adding stdout_lines of the packstack install
and openstack-status.  Tested against rhel65, fedora20 and rhel7

Change-Id: I46ff33ddd31ee52121bfd260637cb8a2ccc2b480

add more debug at start of run

Change-Id: I178fc3df4b67e165617fd92111d82980449fbcee

logging updates

Change-Id: I530407ceb91352debf2af14d786e1a0ef0fa9add

updates for logging

Change-Id: Ib937f5f6bd5b7bacb57f0eeb866a2f029f773f04

updates for logging

Change-Id: I8ebb88f57f7640d8e8a758094133bd373af18600

updates for logging

Change-Id: Ib1175f59f8cd41518c930a7566ebfa73c4ab6059

revert changes to common-handlers

Change-Id: I895d9b8a428117915892cd641ca8613748797048
fix epel: ansible_lsb is not resolved on all distributions

 fatal: [icehouse-neutron-rhel7-testing] =>
 {'msg': "One or more undefined variables: 'ansible_lsb' is undefined", 'failed': True}

fails on rhel and fedora for me ansible_distribution_release|int works

Change-Id: Ibfadbc3ba205ea2f50c62603a62ded43dc83bf97