Commit graph

639 commits

Author SHA1 Message Date
Kevin Fenzi
031ef4de69 ignore errors here for the case of instances with selinux disabled. 2015-11-27 00:05:36 +00:00
Kevin Fenzi
b1c92166b5 Just drop this for now until we can figure out a good way to do it. 2015-11-16 19:55:24 +00:00
Kevin Fenzi
34eaee73e4 Move this over to setup where we have facts. 2015-11-16 19:52:33 +00:00
Kevin Fenzi
8daa51aa45 Add some logic to prep f23 cloud images for ansible. 2015-11-16 19:34:29 +00:00
Kevin Fenzi
213ff05f06 Another dnf/yum one here. 2015-11-09 17:58:55 +00:00
Kevin Fenzi
90df49dff3 Fix yum/dnf here. 2015-11-09 17:55:30 +00:00
Patrick Uiterwijk
b38aeb28de Put rhel* only on RHEL and epel* on el* 2015-10-12 14:12:06 +00:00
Patrick Uiterwijk
a57e7505b7 CentOS also can get EPEL6/7 2015-10-12 14:02:58 +00:00
Kevin Fenzi
db4bc1b01e Trying to adjust nc for rhel7 2015-09-26 00:41:41 +00:00
Kevin Fenzi
7dd8c4ec4f Fix path to openvpn client.conf 2015-09-26 00:20:13 +00:00
Kevin Fenzi
2873cdd427 Move all puppet_private stuff to ansible private so we can stop using puppet private. 2015-09-25 18:16:23 +00:00
Kevin Fenzi
2cf056f01b Tag all the various ntp tasks so we can run over all of them at once. 2015-09-07 15:53:13 +00:00
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