Kevin Fenzi
9a8425fe55
Have all these use the same ntp config
2015-07-23 20:05:39 +00:00
Kevin Fenzi
43017c255f
Add a darkserver-dev instance to new cloud.
...
Also create a el7 growroot that handles the partitioning and xfs in our rhel7 image.
Drop the old darkserver-dev.cloud playbook and host vars.
Update master playbook.
2015-07-17 16:19:17 +00:00
Kevin Fenzi
1a85b731c4
Tag ssh keys play in cloud setup.
...
This allows us to run this over all the cloud nodes when a key changes.
2015-07-13 13:36:06 +00:00
Kevin Fenzi
fc9e58bf57
Set user_data here so we can avoid the stupid rhel/centos/fedora user and sudo
2015-06-24 22:27:03 +00:00
Patrick Uiterwijk
f43622c33c
Migrate openstack over to fedorainfracloud.org
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-23 06:43:05 +00:00
Patrick Uiterwijk
5105b82c59
Fix other references to cloud net ids
2015-06-05 12:01:09 +00:00
Kevin Fenzi
af2f786498
Revert "Conditionalize this for fedora 22 which has only dnf, no yum."
...
Turns out we don't have facts gathered here, so this won't work.
Also, in the new cloud we don't need this task at all.
This reverts commit 69d865e7ff
.
2015-06-02 13:44:32 +00:00
Kevin Fenzi
69d865e7ff
Conditionalize this for fedora 22 which has only dnf, no yum.
2015-06-02 13:08:00 +00:00
Kevin Fenzi
e015807e72
Add the same logic as for virt hosts to cloud spin up. When new instance is made it gathers the key automatically.
2015-05-28 19:58:02 +00:00
Kevin Fenzi
b62619e9d3
Duh. Need to quote this because it's multiline
2015-05-28 19:42:53 +00:00
Kevin Fenzi
5b77fe91d2
Try |string
2015-05-28 19:23:46 +00:00
Kevin Fenzi
c495f031d3
ok, lets try |str filter here.
2015-05-28 19:05:46 +00:00
Kevin Fenzi
aed8829f96
I'm sure it can't be this easy, but will try adding a join filter here.
2015-05-28 18:19:54 +00:00
Kevin Fenzi
6ba003e4ea
Need this local keyscan action to be a command.
2015-05-28 17:49:23 +00:00
Kevin Fenzi
c1bb97974b
This is an attempt to gather initial ssh_host_key from new vms when they are made.
...
This avoids having to accept the key manually and allows playbooks making new
instances to complete without human intervention.
(If it works as desired)
2015-05-28 17:35:25 +00:00
Kevin Fenzi
275f4b5203
Change all instances of ansible_distribution_major_version to filter to int for comparisons.
2015-05-27 22:27:39 +00:00
Kevin Fenzi
76a3f8ad74
Try this.
2015-05-27 22:09:03 +00:00
Kevin Fenzi
a9a3db1d3b
Fix this conditional to work right when ostree isn't defined.
2015-05-27 21:15:06 +00:00
Miroslav Suchý
b78d1f277e
change the condition so it works even when the variable is not defined
2015-05-14 16:08:56 +02:00
Miroslav Suchý
f303f64dfe
try this
2015-05-14 16:05:56 +02:00
Kevin Fenzi
109598f2d5
Missed a few cases for atomic
2015-05-13 23:41:35 +00:00
Kevin Fenzi
b42db39955
See if we can handle the yum, dnf and ostree cases right.
2015-05-13 23:39:35 +00:00
Kevin Fenzi
fe59adfd6b
Re-work the cloud_setup_basic.
2015-05-13 23:34:00 +00:00
Kevin Fenzi
e228e69ad2
Fix spelling mistake
2015-05-13 23:28:31 +00:00
Kevin Fenzi
c51ee8c6dc
See if we can make this a little prettier
2015-05-13 23:18:07 +00:00
Kevin Fenzi
7bc4f4523e
Kill off the old temp cloud instance stuff and make the new one default.
2015-05-13 23:12:42 +00:00
Kevin Fenzi
7e1f931765
Probibly this is a : issue
2015-05-13 23:07:10 +00:00
Kevin Fenzi
fa06d6b82d
How about this?
2015-05-13 23:05:16 +00:00
Kevin Fenzi
f3d2f69efb
How about this?
2015-05-13 23:04:26 +00:00
Kevin Fenzi
954cfad0c3
Quotes again.
2015-05-13 23:03:55 +00:00
Kevin Fenzi
2845d2cd40
Enable the email about instances.
2015-05-13 23:01:33 +00:00
Kevin Fenzi
dbb5c1d3d7
Hopefully this will do it.
2015-05-13 22:16:29 +00:00
Kevin Fenzi
7396c06565
Output nova_result so we can figure out the ip for the new transient instance
2015-05-13 22:14:12 +00:00
Kevin Fenzi
8b26ace605
Revert "ok, lets try defining the pool and see if it auto adds one."
...
This reverts commit b170f41b33
.
2015-05-13 22:09:54 +00:00
Kevin Fenzi
b170f41b33
ok, lets try defining the pool and see if it auto adds one.
2015-05-13 22:02:58 +00:00
Kevin Fenzi
e2230e097f
Hum. Odd that these would be exclusive.
2015-05-13 21:58:33 +00:00
Kevin Fenzi
524507dfee
More public_ip cleanup
2015-05-13 21:57:55 +00:00
Kevin Fenzi
30025b9b60
Try dropping this part using public_ip too
2015-05-13 21:56:42 +00:00
Kevin Fenzi
2c6716fffc
Get floating ip from the external floating ip pool
2015-05-13 21:52:46 +00:00
Kevin Fenzi
2c77eea468
Try and enable root.
2015-05-13 21:50:38 +00:00
Kevin Fenzi
7281794cfd
See if we can auto assign a ip and fix variable for new group.
2015-05-13 21:36:45 +00:00
Kevin Fenzi
6c63e23e07
Another stab
2015-05-13 21:26:45 +00:00
Kevin Fenzi
f6d9f5df5a
No need for region here.
2015-05-13 21:24:14 +00:00
Kevin Fenzi
d7ecfff48e
Move image back to default in the playbook and clean up another duplicate.
2015-05-13 21:23:12 +00:00
Kevin Fenzi
52697ae7dc
Need to default image here now that it moved.
2015-05-13 21:21:23 +00:00
Kevin Fenzi
50cb01ffd2
Also the same for security_groups
2015-05-13 21:19:31 +00:00
Kevin Fenzi
ec37aee7de
Keypair doesn't need to be defined 2 times in the same vars
2015-05-13 21:18:20 +00:00
Kevin Fenzi
524e77a20d
Consolidate variables to just one place.
2015-05-13 21:15:37 +00:00
Kevin Fenzi
565bfe1108
Another place with incorrect tenant name
2015-05-13 21:07:00 +00:00
Kevin Fenzi
f0053f3e6f
Also use correct quoting.
2015-05-13 21:05:35 +00:00