Some users will use infra-ansible for 3rd party, some others
will want a minimal infra with Gerrit.
Moreover, some services are going away with the advent of
Zuul v3.
As such, make the services definitions optional, so users can
really define what they want for the deploy.
Also, reworked the services to be a list, to be more easily
loopable with Ansible with_subelements.
Change-Id: I0097bf4d90350fbe53b94e27b2036d4b8083263a
Some clouds may not have metadata enabled, or even have it but is
not reliable.
Force the user to define in infra_config.yml the services that make
up the OpenStack Infra cloud. This will be in a dict named 'services',
which will contain an entry for each OpenStack Infra service
(puppetmaster, zuul, nodepool, etc).
Change-Id: I9e3fe34684cd31bf1750ad8cf72e7e9090bfe087
I've been slowly decoupling the provisioning role from infra-ansible
into its own role:
http://git.openstack.org/cgit/openstack/ansible-role-cloud-launcher
Now that it has feature parity and it is gating in OpenStack CI,
just use it and remove setup_openstack_resources roles.
Change-Id: I4810d0bdb57cf1f069f20fb133f5f2afe15e4e87
At the moment 'keypairs' isn't defined anywhere. It was added
to infra_config.yml.sample to help users define it.
Also, key_public_file variable was added to 'Create keypairs'
task, to allow users specify key_public_file instead of key
content.
Change-Id: I414aeeaee9c38bdbfe7e5607cb756f08335ac42c
For some services it may be desirable to have instances using
cinder volumes, this change allows to define that in the
infra_config.yml inventory and the provision_infra_servers
will create them.
A follow-up patch will attach the volumes defined on each instance.
Change-Id: I28d187569655fbbc45cec0bce771ce8adab1f4dd
Instead of using a Git server to stage changes on system-config,
better just copy over the local system-config from the command
center machine, the instances created by OpenStack may not have
connectivity to the Git server.
This is a sample config for users to create their own infra-ansible
config file, which will be passed to ansible-playbook with
-e "@infra_config.yaml' switch.