Commit graph

62 commits

Author SHA1 Message Date
Kevin Fenzi
073a4aba74 more ntp weed eating 2018-09-26 23:07:49 +00:00
Patrick Uiterwijk
73f695ab72 Move the rest of yum: to package: as well
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
b87bd5f205 Include from cloud_setup_basic
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 17:46:18 +00:00
Kevin Fenzi
8a6e51a9a6 change state=running to start=started as the old one is going away in ansible 2.7 2017-04-13 01:37:21 +00:00
doteast
18db24b23e review: loop with bare variable name 2017-01-31 17:56:14 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Kevin Fenzi
2d61e0754d Fix up some more non idempotent things. 2016-06-25 18:09:34 +00:00
Kevin Fenzi
3b73ad90ff Also need to remove the old task 2016-06-25 17:55:24 +00:00
Kevin Fenzi
df31d57750 Rework this area so we don't get chrony check failures all the time 2016-06-25 17:52:30 +00:00
Patrick Uiterwijk
4b0c451899 This play breaks older playbooks and needs to check whether chronyd is installed
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-06-09 19:11:26 +00:00
d6b0a3611d disable chronyd on el7 so ntpd can enable
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2016-06-04 07:38:11 +00:00
Kevin Fenzi
4cafc2bd37 Fix all tasks to not use old action: statements. 2016-01-06 21:25:10 +00: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
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
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
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
be0245c2e8 How about this? 2015-03-17 21:23:00 +00:00
Kevin Fenzi
6108972f51 Try playing with the syntax here a bit. 2015-03-17 21:07:26 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Kevin Fenzi
937700d3eb Disable this for now, breaks copr playbooks 2014-10-04 23:39:47 +00:00
Kevin Fenzi
1a73d2bf10 See if this fixes the 'unreachable' on cloud playbooks in the check/diff runs. 2014-06-19 18:15:53 +00:00
Kevin Fenzi
3344263078 Perhaps this needs quotes 2014-03-28 15:07:34 +00:00
Kevin Fenzi
b26adb82f8 Try this. 2014-03-28 14:41:00 +00:00
Stephen Smoogen
750c09b4c9 OK Lets put it all back like it was. Do we go back to old error? 2014-03-21 22:30:07 +00:00
Stephen Smoogen
bd1fb61391 Well I can only break it worse. 2014-03-21 22:16:19 +00:00
Stephen Smoogen
5a056c05f0 Hey lets see if this fixes the stuff I broke. 2014-03-21 22:08:33 +00:00
Stephen Smoogen
e68eaf268e Hey lets see if this breaks stuff. 2014-03-21 21:59:56 +00:00
Kevin Fenzi
b25c32c5da This has to be expanded. Try this syntax 2014-01-01 20:45:59 +00:00
Kevin Fenzi
1889fb51ff Also no {{ in with_pipe, variable are bare there too 2014-01-01 19:45:46 +00:00
Kevin Fenzi
f7d56ff2b1 Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
Pierre-Yves Chibon
5ea98d6f9d Apparently order matters 2013-10-16 12:00:11 +02:00
Pierre-Yves Chibon
0a63a867c0 Remove duplicate action, libselinux-python is install 2 tasks below 2013-10-14 18:45:50 +02:00
Pierre-Yves Chibon
29a3b73a70 Make sure required package are installed 2013-10-14 18:21:44 +02:00
Miroslav Suchý
a7890c6874 enable ssh_sysadm_login sebool for all clouds
addressing:
type=AVC msg=audit(1380833385.268:173): avc:  denied  { getattr } for  pid=781 comm="sshd" path="/root/.ssh/authorized_keys" dev="vda1" ino=6493 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
2013-10-04 07:36:31 +00:00
Ricky Elrod
5452ab5346 add a task to install libselinux-python so ansible doesn't abort. 2013-09-26 19:55:23 +00:00
Kevin Fenzi
5b55bdd257 Fix path to root key 2013-08-30 19:32:00 +00:00
dee6feebe0 when putting the keys on - don't die if someone typos a username - just complain and move along 2013-07-02 19:26:54 +00:00
0e37af52f5 make the name mean something 2013-06-25 18:35:42 +00:00
f500f91330 upate != update 2013-06-25 18:34:57 +00:00
78150e7804 - make the global update only run on first setup
- make the ntp/date install faster
2013-06-25 18:31:36 +00:00
Ricky Elrod
718765d4fa I have no idea what I'm doing. But maybe this will fix it. :) 2013-06-17 15:41:52 +00:00