Commit Graph

37 Commits

Author SHA1 Message Date
Kevin Fenzi
80d8694583 ansible: fix -- mistake for import_playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:23:42 +00:00
Kevin Fenzi
2d1cf41c9f ansible: fix the virt-create calls
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:19:27 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Kevin Fenzi
1416bd877e loopabull/releng-compost: Do not use state: latest in normal playbooks.
It causes playbooks to depend on external factors and upgrade things when people don't expect it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-06 23:57:46 +00:00
Pierre-Yves Chibon
8e7ceb59f0 Listen on allpackages-pr.package.running messages in loopabull
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-02-11 15:40:23 +01:00
Pierre-Yves Chibon
e116af40ea Trigger on messages from the CI pipeline
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-10 10:25:24 +02:00
Pierre-Yves Chibon
5e39b45c3c Move the logic into a role and add tag
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 15:20:01 +02:00
Pierre-Yves Chibon
722a86d1b5 Have a dedicated file for private variables
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 15:15:15 +02:00
Pierre-Yves Chibon
c9ea933d5b Let's also listen and react to staging messages so we can test in staging...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 11:57:03 +02:00
Pierre-Yves Chibon
cdba0c338c Avoid cloning twice, once in the playbook once in the role
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 11:41:20 +02:00
Pierre-Yves Chibon
4e85067c55 One level up
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 11:33:09 +02:00
Pierre-Yves Chibon
b237e02cc8 One more variable to adjust
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 11:30:36 +02:00
Pierre-Yves Chibon
f51eb0af11 Another place where to change loopabull playbooks
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-08-08 11:18:12 +02:00
Stephen Smoogen
8c9589d0ba Ugh say last fix not work. Me make it work with bigger rock! 2018-07-16 18:04:31 +00:00
Stephen Smoogen
6718db4ba0 I am just a caveman Ogh. This is my fix. It is like any other caveman fix, but it is mine 2018-07-13 00:43:06 +00:00
Kevin Fenzi
827bd1ca76 perhaps this will fix loopabull playbook? 2018-04-17 15:29:36 +00:00
Stephen Smoogen
524c1e2479 the playbooks home moved down one dir 2018-03-19 21:19:55 +00:00
Patrick Uiterwijk
67e27110d9 Define loopabull01 prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-27 20:34:27 +00:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
d9ee0059b4 typo on a massive scale 2017-10-15 20:33:11 +00:00
Kevin Fenzi
69fd8d117a switch all the handlers to import and drop the global static import 2017-10-15 20:29:59 +00:00
Kevin Fenzi
1bf960425f this needs to be imported not included 2017-10-15 19:54:19 +00:00
Kevin Fenzi
ceff9bfca4 first stab at replacing include with include_playbook or includ_tasks 2017-10-15 19:46:08 +00:00
Adam Miller
fc3c0fc112 move loopabull@ start into role, setup handler for template
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-06-01 22:25:42 +00:00
Adam Miller
77ad6a2f65 add fedmsg/hub role to loopabull playbook
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-06-01 21:27:59 +00:00
Adam Miller
ca94ebc1d0 fix the loopabull looper plugin
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-06-01 21:06:27 +00:00
Adam Miller
16ea698b98 fix loopabull template, add systemd template unit
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-06-01 19:32:42 +00:00
Adam Miller
547db8757f use the appropriate {{files}} location for loopabull src config
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-05-24 22:55:20 +00:00
Adam Miller
57f02e9a60 include main handlers for all plays in loopabull
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-05-24 22:48:45 +00:00
Adam Miller
8c15cbaa82 Enable fedmsg-rabbitmq-serializer for loopabull
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-05-24 22:38:15 +00:00
Adam Miller
c165ab5a39 setup loopabull_ociimage user for stg
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-05-17 16:02:55 +00:00
Stephen Smoogen
d0b6c8ce06 and this is how you break everything before going on a week vacation 2017-05-05 22:12:33 +00:00
Kevin Fenzi
0acfaa2a7e Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
2017-04-13 15:46:14 +00:00
Adam Miller
7f8612c437 add releng-automation git repo to loopabull system
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-03-16 16:01:18 +00:00
Adam Miller
6019bdbb4d fix some loopabull variable quoting
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-03-14 20:50:47 +00:00
Adam Miller
2d08776708 loopabull roles added and loopabull playbook updated
Signed-off-by: Adam Miller <admiller@redhat.com>
2017-03-13 16:05:27 +00:00
Patrick Uiterwijk
6e4e932901 Add blank loopabull playbook
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-02-06 20:22:04 +00:00