Commit Graph

24 Commits

Author SHA1 Message Date
Kevin Fenzi 3947d129f2 Change all the old first_available_file to with_first_found 2014-06-12 20:15:37 +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
Kevin Fenzi ffcff93ce8 Add check diff to ansible logging 2014-01-22 20:32:05 +00:00
Ralph Bean defd120da2 Remove trailing whitespace. 2013-08-06 01:24:43 +00:00
Seth Vidal 35f1328a49 make sure we ALWAYS get the userid 2013-07-08 11:40:56 -04:00
Seth Vidal 3bfedc4029 it's a dict not an object, dumbass 2013-07-05 18:26:54 -04:00
Seth Vidal 8455e65fbf try to make log detail show check vs actual changes 2013-07-05 18:24:39 -04:00
Seth Vidal 272a6b10b5 try os.getlogin() first then fall back to os.geteuid() 2013-07-04 15:23:16 -04:00
Seth Vidal 4ea5bc2a42 add patch from jp mens to fix os.getlogin() when running w/o a tty :) 2013-07-04 13:50:34 -04:00
Seth Vidal 97a906435a add task_userid to any task not just ansible_cmd 2013-07-03 23:04:46 -04:00
Seth Vidal e6e8cc0d4b make pid a str 2013-07-03 16:50:31 -04:00
Seth Vidal 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
Seth Vidal d6d35dea64 add info on who wrote this 2013-07-03 17:05:25 +00:00
Seth Vidal 79d8b2e656 add a playbook_start and end var to the pb info 2013-07-01 18:09:00 +00:00
Seth Vidal ad4a9c04b9 try a tab, for fun 2013-07-01 17:57:16 +00:00
Seth Vidal 655b0d9b7b unreachable returns a string :( 2013-07-01 17:28:02 +00:00
Seth Vidal 1451fc3c61 data not res 2013-06-28 22:34:25 +00:00
Seth Vidal 43b4b24c44 add userid into non-playbook task logs 2013-06-28 22:32:56 +00:00
Seth Vidal 67c1d4dfb6 make logdetail play better with ansible direct commands 2013-06-28 22:20:26 +00:00
Seth Vidal 8c8e3675cb don't add the module invocation
and check {{ }} syntax in the logger
2013-06-28 21:28:29 +00:00
Seth Vidal d4f08e57b0 not 750, 0750 2013-06-28 21:18:44 +00:00
Seth Vidal 091587af88 add dir perms
fix file import notifications
2013-06-28 21:08:51 +00:00
Seth Vidal 20b83610b4 add logdetail callback plugin - hopefully this will not break for us 2013-06-28 20:59:12 +00:00