Kevin Fenzi
c9f3bcb83d
Clean up ntp tasks in sign setup, they moved into ntp role that is required by base now.
2016-05-18 16:30:48 +00:00
Kevin Fenzi
4a1499fe61
Don't install fedora repo files on jenkins-slave-f24 because it's a pre-release
2016-04-21 21:41:57 +00:00
Adam Miller
8a5411535f
refactor how osbs copr repos are handled for stage
...
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-04-14 16:03:02 +00:00
Adam Miller
b540680d27
configure stage koji to point to osbs.stg instead of osbs-dev
...
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-04-14 15:13:33 +00:00
Michael Scherer
c6d2406b5a
Remove duplicate handlers for update-ca-trust
...
Since there is a already existing update ca-trust in handlers/main.yml
doing the same thing as 'update ca trust', better use 1 single copy.
2016-04-04 14:31:52 +00:00
Kevin Fenzi
bfb071fabe
Nuke old iptables task and files and drop it from blockerbugs-dev. Also kill old serverbeach templates.
2016-03-18 20:28:33 +00:00
Adam Miller
22e1c732fb
set perms on osbs certs
2016-03-07 22:44:16 +00:00
Adam Miller
38cb54520f
tasks/osbs_certs.yml: don't import the handler, it executes as a task
2016-03-07 22:34:51 +00:00
Adam Miller
db2015358f
use notify instead of handler as needed
2016-03-07 22:16:55 +00:00
Adam Miller
59c88c05e4
add osbs ca to stage koji
2016-03-07 22:09:45 +00:00
Kevin Fenzi
9006a36832
Update all calls to sudo to use 'become' and sudo_user to 'become_user'
2016-02-02 21:24:45 +00:00
Kevin Fenzi
4cafc2bd37
Fix all tasks to not use old action: statements.
2016-01-06 21:25:10 +00:00
Kevin Fenzi
ba75919326
Drop no longer used mysql_server task
2016-01-06 21:17:13 +00:00
Kevin Fenzi
e6eb5eae06
We no longer need, use or want the drbackup key
2016-01-06 21:13:57 +00:00
Patrick Uiterwijk
bf5c30b702
Revert "Instead of a custom task, use epel_customizationj"
...
This reverts commit 375eaa9ed4
.
2015-12-20 01:57:27 +00:00
Patrick Uiterwijk
375eaa9ed4
Instead of a custom task, use epel_customizationj
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-20 01:51:03 +00:00
Patrick Uiterwijk
e3d9de7fe2
Cloud needs special EPEL7 repo files
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-20 01:38:45 +00:00
Kevin Fenzi
650b671878
Move persistent_cloud_new to just persistent_cloud as the old one isn't used anymore.
2015-12-14 19:26:36 +00:00
Kevin Fenzi
7de8f98de5
Fix up f23 cloud instances handling hopefully.
2015-12-14 19:21:41 +00:00
Kevin Fenzi
aebe90cc65
Move virthost from a task to a role.
...
Setup a variable for hosts we want nested virt enabled on (default false)
add task to setup that on ones we want
2015-12-10 22:36:13 +00:00
Kevin Fenzi
ce59208dd8
Another ntp call needs to use the new template
2015-12-09 02:17:55 +00:00
Kevin Fenzi
4de5695937
Have to move this so it runs on the right host(s)
2015-11-30 21:04:26 +00:00
Kevin Fenzi
c3f5b21427
Test some tasks to get fedora23 cloud instances working nicely with ansible.
2015-11-30 20:56:00 +00:00
Miroslav Suchý
b20035b183
use correct function to lookup ip addr
2015-11-30 09:56:57 +01:00
Miroslav Suchý
02faa0fa0e
remove ip based entries from known_hosts as well
2015-11-30 09:20:50 +01:00
Miroslav Suchý
c9e9a21cf3
temporary disable failure check of growpart of 2nd partition
...
because on Fedora23 it returns rc 2 when it does not exist
2015-11-30 08:00:08 +01:00
Miroslav Suchý
80c68c7fd6
temporary disable failure check of growpart of 2nd partition
...
because on Fedora23 it returns rc 2 when it does not exist
2015-11-30 07:39:09 +01:00
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