Commit Graph

13 Commits

Author SHA1 Message Date
Ricardo Carrillo Cruz e750ccb869 Set hostnames before the common play
Servers should be able to resolv Internet and the infra hosts
before doing anything useful on them

Change-Id: If694f45235e8c49a6caaee45dbf6d21d79385f65
2016-06-24 12:58:36 +00:00
Ricardo Carrillo Cruz afaf0e4a2c Set resolv.conf on nodes before bootstrap
In some clouds, the nodes created may not have a usable
dns server from Neutron.
Use the Google one, may set this role parameterized at
some point.

Change-Id: I05fcd867e47fcc45dab25d5be5c8349d272514f4
2016-06-09 12:15:40 +00:00
Ricardo Carrillo Cruz 929490ff8c Wait for server to be ssh reachable before bootstrap/configuration
Change-Id: Id229a8de97f08ebca3aff04aa612cd922a73e9a6
2016-06-08 14:54:16 +00:00
Ricardo Carrillo Cruz 563123d788 Add generate infra dynamic inventory playbook/role
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
2016-06-07 13:36:37 +00:00
Ricardo Carrillo Cruz c00b05a675 Adapt the top-level execution playbook to the previous refactor
On the previous commits, I refactored the common and
bootstrap_puppet_infra_node, plus added top-level playbooks
to run puppet for the various services.
This change use those commits for execution.
2015-08-27 10:45:02 +02:00
Ricardo Carrillo Cruz cd329e7920 Add bootstrap_jjb role and top-level playbook
This configured JJB configuration and triggers JJB update to populate
jobs
2015-08-24 09:41:56 +02:00
Ricardo Carrillo Cruz 682d0f14b4 Remove dependency from system-config
Instead of reusing system-config, just use Hiera as ENC
2015-08-12 11:11:06 +02:00
Ricardo Carrillo Cruz 02383a4161 Rename deploy_site_pp to deploy_system_config
We deploy a whole system-config repo, not just site.pp,
thus rename makes more sense
2015-04-29 15:17:22 +02:00
Ricardo Carrillo Cruz abc67376b7 Remove provision_infra_servers and add pre/post playbooks
Running provision AND configuration on same run causes
race-conditions from dynamic inventory, like meta groups
not being available later in the play.
Better run provision_infra_servers on its own and have site.yml
just for the configuration play.
2015-04-18 23:16:29 +02:00
Ricardo Carrillo Cruz fecf70c71b Add common include to site.yml 2015-04-13 15:55:25 +02:00
Ricardo Carrillo Cruz 55303f4bb8 Major refactor
Decoupled several things from bootstrap roles into subroles
and added several default and group variables
2015-04-13 14:23:22 +02:00
Ricardo Carrillo Cruz cb97ea7211 Change site.yml to reflect bootstrap top-level playbook
I've reorg'd the files, now I do the puppetmaster bootstrap in
bootstrap.yml
2015-03-29 10:26:38 +02:00
Ricardo Carrillo Cruz 150f550d89 Initial commit 2015-03-27 09:47:58 +01:00