Commit Graph

9 Commits

Author SHA1 Message Date
Chris Church
c9da8294df Fix to only specify sudo user if explicitly given by the credentials, so as not to force the playbook to require sudo privileges to run. 2013-06-17 19:48:09 -04:00
Chris Church
f9b385bed2 Fix tests to pass when using PostgreSQL as the test database. 2013-06-16 00:07:03 -04:00
Chris Church
c6cb86321e Renaming some views for somewhat consistent naming, add hosts/N/groups and hosts/N/all_groups views, removed creation_date field from seralizers. 2013-06-15 00:16:56 -04:00
Chris Church
e435951fe4 Added config resource with project base dir and local paths, various other API cleanup. 2013-06-14 23:15:31 -04:00
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
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
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
aeac739735 Major rename of package from lib to ansibleworks. 2013-05-21 18:20:26 -04:00