Commit Graph

3 Commits

Author SHA1 Message Date
Ricardo Carrillo Cruz fe8af280a4 Add ability to download an image from the Internet to upload it to Glance
Unfortunately, it seems Glance v2 does not have the capability to upload
an image by referencing a URL, it has to be a local file.
Adding logic to the role and flags should the user want to pull an image
to the Ansible control machine prior to the usual upload.

Change-Id: I2e2886287a045dab89fe712e39b42c2383d6aec6
2016-09-01 23:35:40 +02:00
Ricardo Carrillo Cruz adc37970ab Add ability to generate keypair on-the-fly
This change adds a flag 'generate_keypair' that makes the
role to generate an ssh keypair, create an OpenStack keypair with
it and all the servers of the play will have that key baked in.
The folder, key type and key length are also configurable.

Change-Id: Iccbec24e9834c1fa03da8add94e069f622024537
2016-06-22 13:14:03 +00:00
Ricardo Carrillo Cruz 302bc53977 Initial commit 2016-03-30 13:08:49 +00:00