Commit graph

56 commits

Author SHA1 Message Date
f17d9e3839 First round of porting callbacks to work with Ansible-2.4.0 2017-10-16 15:53:18 +00:00
Patrick Uiterwijk
38285f3b70 Cross the Ts
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 20:13:27 +00:00
Patrick Uiterwijk
a0edf8b4bc Turns out that now ansible has a callback.json, but we mean the upper json
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-16 20:12:30 +00:00
Kevin Fenzi
9ee59b595d This is in ansible 2.0, no need to duplicate 2016-02-09 19:58:19 +00:00
Toshio くらとみ
b7cdd67295 Rename method correctly for new API 2016-02-02 17:30:36 +00:00
Toshio くらとみ
617b679ab9 Think I've found the variablemanager now 2016-01-30 06:18:12 +00:00
Toshio くらとみ
ef791c0438 On the trail of varmanager 2016-01-30 06:07:23 +00:00
Toshio くらとみ
89eec9b7af Some more attribute fixups 2016-01-30 06:04:49 +00:00
Toshio くらとみ
242b04b4fe Some attributes have moved to other objects in v2 2016-01-30 05:57:06 +00:00
Toshio くらとみ
3e0266f612 Introspect to see what attributes are available to us 2016-01-30 05:17:55 +00:00
Toshio くらとみ
998e9cc4ec Fix setting of playbook 2016-01-30 05:15:25 +00:00
Toshio くらとみ
a9062410e5 fedmsg callback ported to v2 2016-01-30 04:54:20 +00:00
Toshio くらとみ
00856a9bac Call the superclas so that we can see that it was invoked 2016-01-30 04:42:15 +00:00
Toshio くらとみ
2f4c5bd79f logdetail callback plugin ported to ansible-2.0 and modify old logdetail plugin so it won't run automatically in 2.0 2016-01-30 04:28:19 +00:00
Toshio くらとみ
379afc6db5 Make callbacks ansible 2.0 compatible 2016-01-29 06:02:10 +00:00
Kevin Fenzi
ee510555a6 Revert "Try adding this to get 2.0 compatibility."
This reverts commit 449cc43446.
2015-12-13 19:33:59 +00:00
Kevin Fenzi
449cc43446 Try adding this to get 2.0 compatibility. 2015-12-13 19:06:32 +00:00
Ralph Bean
f6584f747f Kill that whitespace more carefully. 2015-02-02 15:52:34 +00:00
Ralph Bean
9671d2bb8c Make sure to strip any newlines off the name. 2015-02-02 15:34:48 +00:00
Stephen Smoogen
ca66b2b7ab and we make logfile names suck less. 2015-01-13 00:25:01 +00:00
Ralph Bean
3d7eb0c72b Catch and ignore fedmsg warnings about multiple initializations. 2014-06-30 14:44:52 +00:00
Kevin Fenzi
5c3d38c357 Add a profile thing for a few runs. 2014-06-23 02:05:35 +00:00
Kevin Fenzi
3947d129f2 Change all the old first_available_file to with_first_found 2014-06-12 20:15:37 +00:00
Ralph Bean
2856e06c0f This might just be fixed. 2014-05-08 21:24:47 +00:00
Ralph Bean
09b268e69c Debug fedmsg callback_plugin. 2014-05-08 21:21:35 +00:00
Kevin Fenzi
389600314b only_if is going bye bye. 2014-01-24 16:34:05 +00:00
Kevin Fenzi
5a58c171f8 Lets make this a _ to be nicer 2014-01-22 21:16:39 +00:00
Ralph Bean
474fef8661 Try to silence fedmsg for --check runs. 2014-01-22 20:48:05 +00:00
Kevin Fenzi
ffcff93ce8 Add check diff to ansible logging 2014-01-22 20:32:05 +00:00
Ralph Bean
1ed6213786 Use the correct topic. 2013-08-06 01:56:33 +00:00
Ralph Bean
d88dabe798 Use the shell cert. 2013-08-06 01:46:56 +00:00
Ralph Bean
b306a4f54c Rename that to avoid import conflict. 2013-08-06 01:45:51 +00:00
Ralph Bean
fcb24a897c Add forgotten import. 2013-08-06 01:45:22 +00:00
Ralph Bean
8e3bf3f0d6 Typofix. 2013-08-06 01:45:04 +00:00
Ralph Bean
36924c615e Try adding a callback plugin for fedmsg. 2013-08-06 01:44:17 +00:00
Ralph Bean
defd120da2 Remove trailing whitespace. 2013-08-06 01:24:43 +00:00
35f1328a49 make sure we ALWAYS get the userid 2013-07-08 11:40:56 -04:00
3bfedc4029 it's a dict not an object, dumbass 2013-07-05 18:26:54 -04:00
8455e65fbf try to make log detail show check vs actual changes 2013-07-05 18:24:39 -04:00
272a6b10b5 try os.getlogin() first then fall back to os.geteuid() 2013-07-04 15:23:16 -04:00
4ea5bc2a42 add patch from jp mens to fix os.getlogin() when running w/o a tty :) 2013-07-04 13:50:34 -04:00
97a906435a add task_userid to any task not just ansible_cmd 2013-07-03 23:04:46 -04:00
e6e8cc0d4b make pid a str 2013-07-03 16:50:31 -04:00
2f1fb8a079 new sub path for logs:
/var/log/ansible/$playbook_name/YYYY/MM/DD/HH.mm.SS/<logs here>
 make the playbook.info file be playbook-$PID.info
2013-07-03 16:42:56 -04:00
d6d35dea64 add info on who wrote this 2013-07-03 17:05:25 +00:00
79d8b2e656 add a playbook_start and end var to the pb info 2013-07-01 18:09:00 +00:00
ad4a9c04b9 try a tab, for fun 2013-07-01 17:57:16 +00:00
655b0d9b7b unreachable returns a string :( 2013-07-01 17:28:02 +00:00
1451fc3c61 data not res 2013-06-28 22:34:25 +00:00
43b4b24c44 add userid into non-playbook task logs 2013-06-28 22:32:56 +00:00