Commit Graph
100 Commits
Author SHA1 Message Date
Michael DeHaan 00895fd87f You now get 10 servers for free instead of 5.
Tests updated to exceed server count in tests by adding more hosts.
2013-07-26 23:16:20 -04:00
Michael DeHaan 264cc11630 More consistently use the logger class. 2013-07-26 23:08:01 -04:00
Michael DeHaan e586bd9754 Be more strict on inventory checking on inventory import. 2013-07-18 10:49:14 -04:00
Michael DeHaan c3561e0137 Make AWX inventory import grok the license system. 2013-07-18 10:49:14 -04:00
Michael DeHaan 82a9572df8 Smarter removal of host/group associations means running the inventory script won't pad database
rows when not needed.  Similar to last change made for groups.
2013-07-15 17:54:36 -04:00
Michael DeHaan bea844ff51 Keep from unneccessary DB row additions in changing group memberships during inventory import. 2013-07-15 17:24:29 -04:00
Michael DeHaan 0c257996d9 remove dead code, change logger name. 2013-07-15 17:24:29 -04:00
Michael DeHaan cc8e3e9f8f Option spelling. 2013-07-15 16:27:26 -04:00
Michael DeHaan 25174f955f Fix a Django lookup type. 2013-07-15 16:19:56 -04:00
Michael DeHaan 54f6426c0c Cleanup debug message. 2013-07-15 12:08:33 -04:00
Michael DeHaan 0fa5ba606b DB lookups should specify inventory to allow for non-unique group names. 2013-07-15 11:41:06 -04:00
Michael DeHaan c6b6198926 Update list of TODOs 2013-07-14 17:44:28 -04:00
Michael DeHaan 66da429f38 Tweak debug output. 2013-07-14 17:31:08 -04:00
Michael DeHaan 23b0adb34e Clean run of inventory import script. 2013-07-14 17:21:41 -04:00
Michael DeHaan b0e9ab81af Added fix for "host:port" shortcuts in INI format definitions. 2013-07-14 17:19:31 -04:00
Michael DeHaan 4d8b039074 Fix to use get_host so it shows up in the list of overall added hosts. 2013-07-14 17:16:51 -04:00
Michael DeHaan d23e2345af Start of logic for DB sync portions of inventory import. 2013-07-14 17:15:26 -04:00
Michael DeHaan 3054be117e Tweak such that all INI groups don't get added directly to all. 2013-07-14 16:34:51 -04:00
Michael DeHaan 43415947d0 Directory loads for inventory import 2013-07-14 16:30:15 -04:00
Michael DeHaan 8f1337128f Dynamic inventory script loading operational -- next up: directories, then DB parts. 2013-07-14 16:25:27 -04:00
Michael DeHaan 7306f93cf9 Allow hostname:portnum in inventory files to be used as shorthand for the importer. 2013-07-14 14:15:52 -04:00
Michael DeHaan 9ee338d9d1 Ini file loading using cleanroom implementation is now largely operational. 2013-07-14 14:13:25 -04:00
Michael DeHaan 3bebe0ed3b At least basic INI file loading operational. 2013-07-14 13:59:09 -04:00
Michael DeHaan 902a9edf6d Add the start of inventory import code. Not functional yet. 2013-07-14 13:50:13 -04:00
Michael DeHaan d1a2b49435 Explain where project file needs to be if it is not present. 2013-07-11 17:38:51 -04:00
Michael DeHaan 36e8dcff7c Don't allow deleting yourself or the very last superuser. 2013-07-11 17:10:55 -04:00
Michael DeHaan 552e43668c Update supervisord configs to specify home dir, somewhat
confusing as to why one is a here doc and the other is not, and
why ansibleworks is mentioned not awx in the other.  Possibly not
used?
2013-07-11 12:12:22 -04:00
Michael DeHaan 197c828bde Intend to set this in supervisor instead
Revert "Celery needs to have HOME set"

This reverts commit 83a0c5e1e65b325d02ce877e2d474a116bd0c3ba.
2013-07-11 12:06:48 -04:00
Michael DeHaan 56a5f66e75 Celery needs to have HOME set 2013-07-11 12:02:09 -04:00
Michael DeHaan 552389f903 No need to add anything after the baseurl above. 2013-07-11 11:16:23 -04:00
Michael DeHaan ca2c8ad6f7 Slight tweaks to build system install notes. 2013-07-11 11:04:09 -04:00
Michael DeHaan 31d77b3bab These are stale docs files, see doc repo (private) for official docs.
This dir internal use.
2013-07-11 10:58:26 -04:00
Michael DeHaan 97703d3968 AWX should not record host keys in paramiko mode because it is /very/ slow. 2013-07-05 22:15:55 -04:00
Michael DeHaan 425469cd5a Don't check host keys within AWX to faciliate easy re-provisioning by default. 2013-07-03 17:15:59 -04:00
Michael DeHaan 66d27c4f96 Prevent hosts from being added to their own children. 2013-07-02 16:32:32 -04:00
Michael DeHaan e309c7707d Dynamic event names for job events! 2013-07-02 12:10:43 -04:00
Michael DeHaan 78eac4834e Change strings used for job events, do not use exception middleware that was masking error, do
not log callbacks for vars_files imports.
2013-07-02 11:32:43 -04:00
Michael DeHaan 5ae1ccfa3b Added code to raise permission denied on exceeded server counts using licensing system.
Some very minor/misc cleanup and minor docs also included.
2013-06-29 14:52:38 -04:00
Michael DeHaan 2cc2471f49 Add some spacing to make things easier to read. 2013-06-29 13:45:33 -04:00
Michael DeHaan 30f191f4a8 Remove dead code 2013-06-29 13:43:51 -04:00
Michael DeHaan bc21cd3618 Add license writer script, wire license_info into /api/v1/config 2013-06-29 13:42:06 -04:00
Michael DeHaan 6e91131ee6 update inventory tests to use real host counts. 2013-06-28 13:18:07 -04:00
Michael DeHaan f0df197735 Some tweaks on the license engine (not yet complete). 2013-06-28 12:25:05 -04:00
Michael DeHaan 5e058b33d0 Fixup some syntax errors in the Test suite. 2013-06-28 12:12:22 -04:00
Michael DeHaan 79c86880c2 Wire license tests into top level tests. 2013-06-28 12:09:59 -04:00
Michael DeHaan 635233b5ec Fix error in inventory script. 2013-06-28 12:08:12 -04:00
Michael DeHaan a987be36cb Remove .DS_Store files 2013-06-28 12:03:28 -04:00
Michael DeHaan c0941d283c Add mac .DS_Store files to .gitignore 2013-06-28 12:03:07 -04:00
Michael DeHaan 5d22ebd5b5 Merge remote branch 'origin/master' 2013-06-28 12:02:35 -04:00
Michael DeHaan e992fae303 Adding license code, fixed app version in group_vars/all, added Django14 to packages.yml 2013-06-28 11:58:32 -04:00
Michael DeHaan 6f43190b2b Fixup makefile 2013-06-12 16:13:34 -04:00
Michael DeHaan 9e519400bc Don't install PyYAML as ansible already will have. 2013-05-26 12:47:37 -04:00
Michael DeHaan 95ce3cddf7 Rename directory structure in release package. 2013-05-26 11:01:00 -04:00
Michael DeHaan 13ccb6fbdf Add makefile target to build release package, assumes ansible-doc checked out at same level. 2013-05-24 19:22:12 -04:00
Michael DeHaan 8b919b666f README.md is gone so tweak setup. 2013-05-23 13:36:59 -04:00
Michael DeHaan ab0fafa5a7 Some doc updates, don't mention vagrant 2013-05-23 13:20:50 -04:00
Michael DeHaan d1ba197126 Add a test to show you can create a new host by posting to a groups host list. 2013-05-15 18:40:34 -04:00
Michael DeHaan ddf10251cc Fix some issues when creating a new object and posting to a subcollection. Tested with groups.
Also removed some dead code.
2013-05-15 18:31:32 -04:00
Michael DeHaan 5c6895e606 Correct some things in the README 2013-05-14 18:47:53 -04:00
Michael DeHaan 09252d5c1d Replace COPYING document 2013-05-14 18:45:38 -04:00
Michael DeHaan b83e70b09a Remove various license headers. License was changed to proprietary previously so fix up headers. 2013-05-14 18:44:02 -04:00
Michael DeHaan 72fbb6c3a3 Add inventory root groups to related resources. 2013-05-14 18:38:32 -04:00
Michael DeHaan 5b65b3bfac Add code that allows getting just the root groups for an inventory. 2013-05-14 18:28:13 -04:00
Michael DeHaan 6238f0ab9a Add summary_fields capability, which for items in a collection gives the names of related fields.
{
   'summary_fields' : {
       'organization' : {
          'name' : 'foo',
          'description' : 'bar',
       }
   }

}

etc.  This is automatic for all field types configured in serializers.py (SUMMARIZABLE_FKs, etc).
2013-05-08 17:38:35 -04:00
Michael DeHaan 1fdf99fc31 Do not install paramiko from pip, as ansible already requires the OS paramiko and this will
result in it not being found.
2013-04-27 11:25:17 -04:00
Michael DeHaan b2c4ca6ece Complete tests and permission API REST exposure. Note permission objects are found through user and teams, not a permissions
collection.
2013-04-26 18:12:12 -04:00
Michael DeHaan b4932ab5a9 Partial support for permission editablity through REST. More TBA. 2013-04-26 17:32:19 -04:00
Michael DeHaan f18f3a339c Add discoverability on /api/v1 to show available top level resources. 2013-04-25 20:33:37 -04:00
Michael DeHaan 620ce927a8 Add libYAML package dependency 2013-04-25 08:13:29 -04:00
Michael DeHaan 0251253f49 Don't treat pagination parameters as filtering. 2013-04-25 08:01:40 -04:00
Michael DeHaan 86de2c8846 Check that the object we are attaching is readable by us for extra security on attaching resources. 2013-04-19 15:25:19 -04:00
Michael DeHaan 0ed275c3c8 Pass request data to various functions to allow for extra validation to be implemented on top of what is there now. 2013-04-19 12:10:30 -04:00
Michael DeHaan 4cd7405a37 update TODO 2013-04-19 11:15:02 -04:00
Michael DeHaan 761354067f Add TODO note 2013-04-19 10:49:24 -04:00
Michael DeHaan bbaf9c96b5 Add important credential note. 2013-04-19 10:48:32 -04:00
Michael DeHaan 3047c07139 REST access for job template detail, access to read one follows whether permissions are available. Access to see
them should similarly follow (pending).
2013-04-19 10:42:36 -04:00
Michael DeHaan c40156e04e Update TODO 2013-04-18 23:00:35 -04:00
Michael DeHaan 2f5745272f Tests for permission checking on who can start jobs of certain types, etc. 2013-04-18 22:32:54 -04:00
Michael DeHaan 28332cc5a5 Ability to post new job templates. The permissions checks on these need more tests for non-org-admin users. 2013-04-18 22:11:00 -04:00
Michael DeHaan 296c6e8cd4 Fix filter field setting for user classes, where field is named 'username', not 'name' 2013-04-17 21:36:12 -04:00
Michael DeHaan 5336316f2e Resolve merge conflicts. 2013-04-17 20:35:01 -04:00
Michael DeHaan 7c5fcba037 Commiting just in case the diff is not all whitespace 2013-04-17 20:34:04 -04:00
Michael DeHaan ec0e0f60dc Some TODO updates, a model revision, and getting association/disassociation working on user/team creds. 2013-04-15 19:19:54 -04:00
Michael DeHaan 9fc041f4ec No need to keep inventory list on projects, can just use permissions 2013-04-15 11:31:54 -04:00
Michael DeHaan 09cca99c69 Just use plain GPL. 2013-04-09 01:05:55 -04:00
Michael DeHaan 7368645bc6 Just use the plain GPLv3. 2013-04-09 00:55:25 -04:00
Michael DeHaan 26cff59ef0 Use of validate() method on serializer to implement write-once fields. 2013-04-07 22:17:33 -04:00
Michael DeHaan 9db8e27491 Working on credentials API 2013-04-07 20:10:24 -04:00
Michael DeHaan 97a83c7e0d Add license for ansible plugin (not part of commander or ansible) 2013-04-04 15:57:58 -04:00
Michael DeHaan 5d8641abe6 Adding some TODOs for later. 2013-04-04 15:52:00 -04:00
Michael DeHaan c52f51162a Work on team credentials. 2013-04-04 15:52:00 -04:00
Michael DeHaan 0a306ee0ad Team credentials listing. 2013-04-04 14:41:31 -04:00
Michael DeHaan 2c2c26860f Wiring up team credentials service (WIP). 2013-04-04 12:38:41 -04:00
Michael DeHaan 5087db5a7f Remove some prints 2013-04-04 12:10:00 -04:00
Michael DeHaan d1f2f871e7 Column name not unique and assorted work on credentials REST 2013-04-04 12:07:12 -04:00
Michael DeHaan b20a29b458 Working on surfacing credentials via REST. 2013-04-02 15:00:16 -04:00
Michael DeHaan 37cdd31b79 Fix typo. 2013-04-02 15:00:15 -04:00
Michael DeHaan dbab673183 Update TODO notes. 2013-04-02 13:21:21 -04:00
Michael DeHaan 0250537065 Update credentials schema and TODO notes. 2013-04-02 11:23:58 -04:00
Michael DeHaan 4df02f205b Update TODO notes. 2013-04-02 10:50:08 -04:00