Commit Graph
100 Commits
Author SHA1 Message Date
Chris Church 1d9a0e0a1c Skip proot test if proot is not installed. 2014-09-25 15:02:49 -04:00
Chris Church 2d1580bccb Implements https://trello.com/c/1NJKBOex - Add support for using proot to run jobs in isolated environment. 2014-09-25 14:54:43 -04:00
Chris Church 6fd86b881f Only show login method for machine credentials. 2014-09-16 11:40:52 -04:00
Chris Church 0b3077a3a9 Fix JS indentation. 2014-09-12 12:38:58 -04:00
Chris Church a0fdf62e70 Fix for running unit tests on Python 2.6. 2014-09-12 12:38:34 -04:00
Chris Church 5fe3ee3bf4 Fixes https://trello.com/c/ZBHrkuLb - Add support for IPv6 addresses in inventory import. 2014-09-12 02:34:07 -04:00
Chris Church 1128c55cc3 Fixes https://trello.com/c/gZw3WBxA - Make sure job callback view is csrf exempt. 2014-09-11 22:58:47 -04:00
Chris Church e427234aec Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API. 2014-09-11 17:34:38 -04:00
Chris Church 2fdf55ec1b Fix check for skipping splunk inventory test when using sqlite. 2014-09-11 10:57:57 -04:00
Chris Church a479294f02 Update django-devserver to support Django 1.6. 2014-09-11 03:54:26 -04:00
Chris Church ee030a89b7 Fixes https://trello.com/c/rHOgeb2W - Remove temp cache dir created for EC2 inventory sync. 2014-09-08 14:28:31 -04:00
Chris Church 9d7e240c9d Better detection of permission denied when reading /etc/awx/settings.py to display appropriate error message. 2014-08-13 09:53:40 -04:00
Chris Church 1b7d94732b Replaced Windows Azure with Microsoft Azure in strings/comments. 2014-08-13 08:20:32 -04:00
Chris Church 3408ac8f88 Display error message if awx-manage/tower-manage are run as a user other than root or awx. 2014-08-13 01:04:04 -04:00
Chris Church b3aac6bb9e Update status choices for projects, inventory sources and job templates to only return options applicable to the specific object type. 2014-08-13 00:11:57 -04:00
Chris Church b61eae4bac Updated API docs to reflect new features in 2.0. 2014-08-12 23:34:18 -04:00
Chris Church 578f4b9c3b Fix inventory import to look for group and host vars files with .yml, .yaml and .json extensions in addition to no extension. 2014-08-12 22:58:11 -04:00
Chris Church fa5c7194b8 Remove unit tests from sdist. 2014-08-11 11:41:40 -04:00
Chris Church d6b3e3079a Disable extra actions on save for inventory sources when running inventory import. 2014-08-11 11:41:40 -04:00
Chris Church 499fe47a7c Add commented out _meta hostvars back to test inventory script. 2014-08-09 21:33:57 -04:00
Chris Church 7461eabc6a Updated ec2 inventory from core: ansible/ansible#8516 2014-08-09 20:10:27 -04:00
Chris Church 2c40209e30 Remove auth checks for /api/ and /api/v1/ to fix auth errors in UI after logging into munin. 2014-08-07 16:49:23 -04:00
Chris Church 90e2e8775c Update ec2 inventory script from core, no more tower-specific changes. 2014-07-31 15:21:05 -04:00
Chris Church 20d76bfc91 Fix UnicodeDecodeError from pexpect when ansible-playbook output contains unicode. 2014-07-23 20:03:55 -04:00
Chris Church 48afe188b2 Fix to return hosts without a group in the 'all' group from inventory script view. 2014-07-18 13:28:23 -04:00
Chris Church 4f33a01b02 Removed print statement that was just printing 'JHS: Host: Host object' for every object when running migration. 2014-07-14 18:33:21 -04:00
Chris Church 32822f43d3 Include ec2 inventory changes from https://github.com/ansible/ansible/pull/8010 and https://github.com/ansible/ansible/pull/8119 2014-07-14 18:12:07 -04:00
Chris Church 48906416ac Remove refresh_inventory flag for callbacks; make it the default behavior instead. 2014-07-08 15:44:02 -04:00
Chris Church 6813a082f0 Add refresh_inventory flag for job_template callback to refresh inventory before trying to find a matching host. 2014-07-03 15:59:56 -04:00
Chris Church 1d1137a8d8 Use correct variable name ininventory import. 2014-07-03 12:23:17 -04:00
Chris Church 26171c69b9 Added latest rax inventory plugin from core. 2014-07-01 17:20:56 -04:00
Chris Church 0622dd101c Support caching for ec2 inventory sync to avoid unit test failures. 2014-06-28 18:16:37 -04:00
Chris Church c918dfe307 Fix for traceback when using nested groups. 2014-06-28 18:16:36 -04:00
Chris Church fcf41d74cf Add test license for ec2 import to make jerkins happy. 2014-06-26 18:02:08 -04:00
Chris Church 7229f9cc8f AC-1302 Update EC2 inventory script to create hierarchical groups.
Conflicts:
	awx/main/tests/inventory.py
2014-06-26 14:54:51 -04:00
Chris Church 3b9fe8b954 Fix failing rax unit test, nly check that enabled flag is set on hosts that were previously enabled insead of all hosts. 2014-06-25 12:35:50 -04:00
Chris Church 24df1a88ee AC-1295 Allow host names to contain brackets when importing from JSON sources. 2014-06-06 14:17:12 -04:00
Chris Church 3a5db149e9 Generate large test license for cloud inventory import unit tests. 2014-06-05 16:20:17 -04:00
Chris Church d2d7ac3d1c Save/restore current directory for each test. 2014-06-05 16:02:58 -04:00
Chris Church ea9843a66c AC-1235 Improve inventory tree view performance. 2014-05-20 16:49:03 -04:00
Chris Church ad3b1143bf AC-1235 Fix bug when importing large number of groups into existing inventory, sort group/host names on import to make output a little easier to follow. 2014-05-20 15:49:36 -04:00
Chris Church 6be2e07cbc AC-1235 Fix large inventory import tests by querying in batches. 2014-05-19 00:45:21 -04:00
Chris Church 3086ec4930 AC-1235 Fix for RunJobTest failures. 2014-05-18 22:56:59 -04:00
Chris Church b14aa0b55d AC-1235 Improvements to inventory import and computed field performance. 2014-05-18 22:10:12 -04:00
Chris Church 79dcadf155 Capture play name and host pattern separately in job event data. 2014-05-15 18:53:02 -04:00
Chris Church 6d0da4672d AC-1278 Reduced the level of pickiness expressed by inventory_import regarding filenames. 2014-05-15 13:08:48 -04:00
Chris Church db3151a9dd Fix for KeyError when cache is empty, change cache key prefix for dev vs. prod.
Conflicts:
	awx/settings/production.py
2014-05-14 14:16:19 -04:00
Chris Church 4f74afdf19 Add response headers for timing API requests, improve inventory script view performance. 2014-05-14 13:52:46 -04:00
Chris Church 5e484b2503 Update where host_name field is set on job events. 2014-05-11 23:43:40 -04:00
Chris Church 8154edf00c AC-1262 Fix broken job template test. 2014-05-11 23:07:00 -04:00
Chris Church fcdcf8e988 AC-1262 Add vars_prompt_on_launch field to job template. 2014-05-11 23:03:46 -04:00
Chris Church a9672294c4 Workaround possible ansible bug so unit tests pass for async tasks.
Conflicts:
	awx/main/tests/tasks.py
2014-05-11 23:03:20 -04:00
Chris Church 78b5378b57 AC-1235 Speed up JS for inventory script view in browsable API. 2014-05-08 11:37:29 -04:00
Chris Church 29349d0a5a Disable socketio notifications for unit tests. 2014-04-19 02:12:33 -04:00
Chris Church a49c627e53 AC-504 Migration to add roles to existing job events. 2014-04-16 23:54:03 -04:00
Chris Church ac2cd63ab5 AC-1201 Fix UnicodeEncodeError when validating hostname:port containing unicode. 2014-04-16 23:05:57 -04:00
Chris Church e753260087 AC-588 Match cloud hosts by unique instance_id instead of name when running cloud inventory sync. 2014-04-16 03:00:33 -04:00
Chris Church 7bfe0f9583 AC-1192 Added special tower extra_vars when running jobs. 2014-04-15 18:42:39 -04:00
Chris Church 130d1f071f Return URL to new job created from job template callback. 2014-04-15 15:41:49 -04:00
Chris Church 7eed13cca4 AC-448 Add support for mapping LDAP users to teams based on LDAP group membership. 2014-04-15 14:22:45 -04:00
Chris Church e8b0d7451e AC-1182 Handle a schedule rrule that results in zero occurrences. 2014-04-15 13:24:06 -04:00
Chris Church 2546cbdbb6 AC-504 Capture role when available for job events. 2014-04-15 00:22:57 -04:00
Chris Church 1d417fe573 AC-1191 Fix limit parameter on callback jobs to intersect with any limit specified on the job template. 2014-04-14 23:40:06 -04:00
Chris Church 55da67fa91 AC-1181 Fixed job serializer to copy default name/description from job template. 2014-04-14 23:09:02 -04:00
Chris Church e70df9bf0f Updated version to 2.0.0. 2014-04-09 00:12:33 -04:00
Chris Church 1283a78e09 AC-1134 Updated rax/ec2 inventory scripts from ansible. Added ability to filter groups/hosts by regular expression and exclude empty groups, so that Tower can exclude RAX/EC2 instance ID groups and EC2 RDS hosts/groups. 2014-04-08 23:50:57 -04:00
Chris Church 59dc2a2cb8 AC-1158 Fix project to set delete on next update. 2014-04-08 15:41:40 -04:00
Chris Church 9b33057042 AC-1122 Fixed inventory source name (and therefore inventory update name) to pull from group/inventory name. 2014-04-03 14:19:48 -04:00
Chris Church 9a7d77ffe3 AC-1121 Renamed job_type to unified_job_type on summary fields for schedules. 2014-04-03 13:42:01 -04:00
Chris Church 6fb16375a1 Change markdown for rrule examples for browsable API help. 2014-04-03 13:27:10 -04:00
Chris Church 2c319cc986 Update title for browsabl API to Ansible Tower, return dated version for development/nightly builds. 2014-04-02 00:16:48 -04:00
Chris Church 3aa517154e Get unit tests to pass with created_by changes. 2014-04-01 22:42:16 -04:00
Chris Church c453c26124 Fix previous change for determining when to use ssh-agent. 2014-04-01 21:52:53 -04:00
Chris Church 118ddf97f6 Get created_by and modified_by updating automatically. 2014-04-01 21:27:32 -04:00
Chris Church d632aa0af9 Only show editable fields in the browsable API raw data form on a detail view. 2014-04-01 21:10:16 -04:00
Chris Church 0b3d056c16 Always use JSON renderer for OPTIONS requests in browsable API, override default renderer. 2014-04-01 20:51:15 -04:00
Chris Church 762e8656c5 Use ssh-agent for encrypted ssh_key_data even when ssh_key_unlock is empty. 2014-04-01 20:35:36 -04:00
Chris Church 86599cf1e3 Add API resource for unified job stdout with HTML output of ANSI color codes. 2014-04-01 20:15:43 -04:00
Chris Church 658581cce0 AC-1116 Support for deleting project/inventory updates. 2014-04-01 17:15:41 -04:00
Chris Church 5f2356a4fd AC-1040 Change type to job_type when unified_job_template is included in summary_fields. 2014-04-01 16:49:50 -04:00
Chris Church 9479068cda AC-1114 Mark schedules inactive when their parent unified job template is marked inactive. 2014-04-01 16:17:29 -04:00
Chris Church 1c649a0752 AC-1108 Downgrade django-jenkins to get unit tests passing. Fix activity stream tests to not assume PK is always 1. 2014-04-01 14:56:37 -04:00
Chris Church 008ec8f86e AC-601 Add groups/hosts collections to inventory sources, add inventory sources collections to groups/hosts to indicate which inventory source(s) have created/updated the given groups/hosts. Prevent setting an explicit inventory source for a group that is being managed by another parent with cloud inventory source. 2014-03-31 19:26:03 -04:00
Chris Church d7f31f9777 Fix edge case in inventory import that would cause a group to become its own parent. 2014-03-31 17:37:41 -04:00
Chris Church 47218c17e4 AC-1040 Added progress output for unified jobs data migration. 2014-03-31 16:26:29 -04:00
Chris Church 67b8f57518 AC-1040 Add some output while running large unified jobs migration. 2014-03-31 16:26:29 -04:00
Chris Church 8901cd31e7 Install setuptools/Django development packages separately before installing the others. 2014-03-31 14:08:14 -04:00
Chris Church 3219700d9d AC-1040 Update type choice verbose names. 2014-03-31 13:30:51 -04:00
Chris Church 56f8d6748b Updated inventory plugins from ansible, updated all third party packages in awx/lib/site-packages to latest versions, minor serializer fixes after package upgrades. 2014-03-31 13:26:00 -04:00
Chris Church 2eeecb01a7 AC-1040 Updated type choice names for unified job subclasses. 2014-03-31 11:34:12 -04:00
Chris Church e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church e5054eeb65 AC-1040 Support ordering by type field. 2014-03-30 19:52:52 -04:00
Chris Church fe5d154d76 AC-1040 Exposed list of choices for type field. 2014-03-29 14:34:22 -04:00
Chris Church 35e4bd477c AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes. 2014-03-28 22:07:24 -04:00
Chris Church 352197c5d2 Removed admin support (no longer used or maintained). 2014-03-28 22:04:26 -04:00
Chris Church 7754f475ad AC-1097 Fixed validation of unique name on polymorphic models. 2014-03-28 18:18:31 -04:00
Chris Church 558f7ef2eb AC-465 Removed settings.py copies that are no longer used in packaging. 2014-03-28 16:53:14 -04:00
Chris Church 52ab418abb AC-1040 Unified job template and unified job views. 2014-03-28 01:25:25 -04:00
Chris Church ce2ae2b945 AC-1071 Removed ssh_key_path option, only need to be able to accept PEM key format. 2014-03-27 15:55:50 -04:00
Chris Church d8383a4d69 AC-1076 Exposed scm_update_cache_timeout for projects, added needs_update_on_launch property to project and inventory source models. 2014-03-26 16:40:55 -04:00