Commit Graph
100 Commits
Author SHA1 Message Date
Chris Church 904ea61d54 Make sure stdout template is included in build. 2015-03-30 15:55:57 -04:00
Chris Church c1d90e1897 Keep git URLs in SCP format for project updates. Fixes https://trello.com/c/xUL2FZyu 2015-02-26 15:46:55 -05:00
Chris Church 140e3ec49c Merge pull request #87 from cchurch/f-u-ansi2html-and-your-stupid-gpl-license
Replace ansi2html (GPL) with ansiconv (MIT).
2015-02-24 13:13:12 -05:00
Chris Church ab966fb082 Remove docs for scheme parameter. 2015-02-23 16:41:03 -05:00
Chris Church 7f2a029532 Replace ansi2html (GPL) with ansiconv (MIT). 2015-02-23 16:33:36 -05:00
Chris Church 8db3bdb947 Merge pull request #78 from wenottingham/readme-fix
This fixes a couple of the package names in README to match their names in pip.
2015-02-19 09:53:02 -05:00
Chris Church ef96ba05d8 Merge pull request #71 from matburt/logging_rework
Logging rework
2015-02-14 17:03:32 -05:00
Chris Church c903e64ad5 Remove tags, add group for templates to VMware inventory script. 2015-02-11 03:24:17 -05:00
Chris Church 2d6986bb53 Update EC2 inventory to include changes from ansible/devel, add tag_none to tags group, update vpc group naming to match ansible/devel. 2015-02-11 01:46:22 -05:00
Chris Church bfff155d61 Fix dashboard inventory graph to only count unique hostnames and reflect when licensed hosts count drops; API response is slower than before. Fixes https://trello.com/c/Kfw7QlRE 2015-02-10 16:17:53 -05:00
Chris Church 8da5ba60f3 Pass updated kwargs to new unified job instance. Fixes https://trello.com/c/LFsi5Cq5 2015-01-24 17:48:49 -05:00
Chris Church ee42ae8571 Support older versions of psutil that don't implement as_dict(). 2015-01-16 12:30:31 -05:00
Chris Church 4dff25884f Re-enable proot by default, add python-psutil as a dependency, implement support for terminating SSH control master processes so that playbook runs exit cleanly. 2015-01-14 17:17:15 -05:00
Chris Church c72472fba9 Add back VPC grouping for RDS. 2015-01-09 03:00:25 -05:00
Chris Church fd2cdd39b8 Remove group by VPC for RDS instances. 2015-01-09 02:31:41 -05:00
Chris Church d826cf0a0a Add support for changing proot verbosity via settings. 2015-01-07 13:11:24 -05:00
Chris Church 719669f409 Show formatted output instead of raw HTML for job stdout in browsable API. 2015-01-06 17:25:13 -05:00
Chris Church 6996c66619 Wrap commands with proot first, then ssh-agent. Fixes issue from https://trello.com/c/GU6kiuzq where playbook runs to completion but returns a nonzero exit code. 2015-01-06 15:54:08 -05:00
Chris Church 7c7a68dfad Include return code in exception message when task has an error or is canceled. 2015-01-06 11:27:34 -05:00
Chris Church 844e1b7343 Update validation for instance filters to allow 'tag:key=value'. Fixes https://trello.com/c/VH9Vnd8z. 2014-12-17 02:31:33 -05:00
Chris Church ee97e83b2c Allow EC2 inventory sources to omit a credential in order to use IAM roles. Implements https://trello.com/c/aBMF95eF 2014-12-17 01:50:25 -05:00
Chris Church 4ee092152b Fix intermediate migrations to reflect modifications to 0055_v210_changes. 2014-12-16 18:02:04 -05:00
Chris Church 41ac7c4d96 Allow space in SCM password. Fixes https://trello.com/c/KaqasZPa 2014-12-16 14:38:58 -05:00
Chris Church 688e80d82c One more extra vars fix. 2014-12-04 17:55:27 -05:00
Chris Church 12f07e454f Reenable test for key=value extra vars, remove some unused imports. 2014-12-04 15:42:18 -05:00
Chris Church 3668b3c761 Fix callback consumer port to always be a URL, instead of sometimes an int. 2014-12-03 20:49:08 -05:00
Chris Church 36cf1e1e10 Fix callback consumer port used by job event callback. 2014-12-03 20:44:19 -05:00
Chris Church 1faa2be3b4 Fix for active hosts count when running unit tests with SQLite. 2014-12-03 20:13:08 -05:00
Chris Church fcf7398ec6 Add common code for determining active (licensed) hosts with unique names, update licensing code and inventory import to use it. Implements https://trello.com/c/2Q9Mosks 2014-12-03 19:41:01 -05:00
Chris Church 6b91f46082 Log warning and continue on invalid port specification. Fixes traceback from https://trello.com/c/0OgJ3uRb 2014-12-03 19:27:52 -05:00
Chris Church 526e4f2a2c Use unicode project path when searching for playbooks. Fixes https://trello.com/c/yJGDluu1 2014-12-03 19:10:49 -05:00
Chris Church 109988da13 Fix typo, modify can_update to prevent inventory update from even starting when source script is missing. 2014-12-03 18:35:33 -05:00
Chris Church 987fd4b3e0 Add name as default sort field for portal job templates. Fixes https://trello.com/c/AIZfaLVC 2014-12-03 00:52:01 -05:00
Chris Church ba652b5dd3 Updated blacklist/rules for environment variables that can be set by source_vars for a custom inventory script. Fixes https://trello.com/c/CWbeHJ0L 2014-12-03 00:45:46 -05:00
Chris Church 21385d1315 Added /portal redirect. Fixes https://trello.com/c/E63JCT96 2014-12-03 00:33:25 -05:00
Chris Church 02f9f68536 Added API validation of instance filter names. Fixes https://trello.com/c/VH9Vnd8z 2014-12-03 00:26:25 -05:00
Chris Church 2f3d9e9f36 Handle/ignore poorly formatted EC2 instance filters. Fixes https://trello.com/c/YMtWTaW9, https://trello.com/c/laUovaOm and https://trello.com/c/Hu11HhC4 2014-12-02 23:56:35 -05:00
Chris Church 564ba7bf68 Work on update/cancel serializers/views to return correct field names in OPTIONS response. 2014-12-02 18:55:54 -05:00
Chris Church 7e94282934 Better handling of foreign key parameters for (re)launching jobs. Fixes https://trello.com/c/Ty5cjHBd 2014-12-02 15:12:45 -05:00
Chris Church 1e56d3d2fd Add tests for inventory_filters and group_by, fix to convert None to empty string. 2014-11-26 13:34:10 -05:00
Chris Church 35c392ab17 Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH 2014-11-26 03:20:45 -05:00
Chris Church ad856391f6 Use select_related and other misc fixes to improve performance and reduce queries. 2014-11-24 21:12:21 -05:00
Chris Church bb5dc1b9f9 Include core ec2 inventory changes from https://github.com/ansible/ansible/commit/4755bde28d05a8dcafe979e95bf2da937d180c16 2014-11-20 10:11:29 -05:00
Chris Church 4a030c3725 Hide all of /var/log/ from jobs running using proot. 2014-11-11 18:52:54 -05:00
Chris Church a9c6dadc1a Remove extra print statements, minor contributing updates. 2014-11-11 18:09:01 -05:00
Chris Church 73636ef1a0 Update ec2 inventory to include instance_filters support (https://github.com/ansible/ansible/pull/8822). 2014-11-10 14:27:14 -05:00
Chris Church 43f46f830f Update VMware inventory to better handle AttributeErrors. 2014-11-04 12:06:09 -05:00
Chris Church 886d9f2120 Added /var/log/supervisor to paths hidden by proot. 2014-11-04 11:27:20 -05:00
Chris Church b1f1cfa633 Update docstring for VMware inventory script. 2014-10-30 14:10:14 -04:00
Chris Church f5a174f991 Fixes https://trello.com/c/8KGzMa75 - Updates to VMware inventory script to include additional host variables, groups and ansible_ssh_host. 2014-10-30 13:47:49 -04:00
Chris Church 4eb0ed225b Implement https://trello.com/c/Oznsyg2c - Always use ssh-agent to run playbooks whenever an SSH key is provided. 2014-10-23 14:34:38 -04:00
Chris Church 7834bfab70 Implemented https://trello.com/c/LLwK80P5 - Added eu-central-1 region and updated boto to 2.34.0. 2014-10-23 13:36:15 -04:00
Chris Church 253a6cffd4 Add default SYSTEM_UUID for development. 2014-10-23 13:36:14 -04:00
Chris Church a8952dd796 Fixes https://trello.com/c/ymLR3cfq - Prevent IE from using compatibility mode. 2014-10-09 18:20:30 -04:00
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