Commit Graph

12 Commits

Author SHA1 Message Date
Chris Church
abd81b7492 Added variable data field and resource on inventory. Updated inventory script to output inventory variables for the 'all' group. 2013-06-14 20:09:55 -04:00
Chris Church
c526f58098 Updates to work with REST framework 2.3.x, update browseable API style to mimic UI. 2013-06-14 04:13:34 -04:00
Chris Church
365a21f103 Added has_active_failures as database field on Inventory, Group and Host models. 2013-06-12 23:57:30 -04:00
Chris Church
6557fb33f3 Updated inventory script to only return active groups and active hosts for active inventories. 2013-06-12 22:37:25 -04:00
Chris Church
bbdfe8bc46 Minor fix for host has_active_failures field, indentation on custom_filters file. 2013-06-10 21:51:44 -04:00
Chris Church
cba55a061a Numerous model-related updates and supporing changes, including:
- Add variables field on Host/Group models and remove separate VariableData model.
- Add data migrations for existing variable data.
- Update views, serializers and tests to keep roughly the same API interface for variable data.
- Add has_active_failures properties on Group/Host models to provide indication of last job status.
- Add job_tags field on JobTemplate/Job models to specify tags to ansible-playbook.
- Add host_config_key field to JobTemplate model for use by empheral hosts.
- Add job_args, job_cwd and job_env fields to Job model to capture more info from running the job.
- Add failed flag on JobHostSummary model.
- Add play/task fields on JobEvent model to capture new context variables from callback.
- Add parent field on JobEvent model to capture hierarchy of job events.
- Add hosts field on JobEvent model to capture all hosts associated with the event (especially useful for parent events in the hierarchy).
- Removed existing Tag model, replace with django-taggit instead.
- Removed existing AuditLog model, replacement TBD.
2013-06-10 17:34:37 -04:00
Chris Church
ec986f4ebe Fix for root groups to actually show only the groups with no parents. 2013-06-04 11:17:23 -04:00
Chris Church
40dd9b08be Added error handling views and templates, added setting to log request errors to a file. 2013-05-28 14:11:19 -04:00
Chris Church
c0aaff7850 Cleaned up migrations, updated Makefile migrate target to handle this change. 2013-05-24 17:55:03 -04:00
Chris Church
f7b983c807 Added event_display field to job event, with slightly more readable event name. 2013-05-23 12:13:13 -04:00
Chris Church
903274db3e Removed print statements left in the code. 2013-05-21 19:19:46 -04:00
Chris Church
aeac739735 Major rename of package from lib to ansibleworks. 2013-05-21 18:20:26 -04:00