From 07657926b947094ff9914bf01e845b967eb08a2f Mon Sep 17 00:00:00 2001 From: Chris Church Date: Sun, 23 Jun 2013 13:21:02 -0400 Subject: [PATCH] Rename ansibleworks to awx. --- .gitignore | 10 +-- COPYING | 5 +- MANIFEST.in | 21 ++--- Makefile | 16 ++-- README.md | 13 ++- ansibleworks/__init__.py | 20 ----- ansibleworks/main/tests/__init__.py | 11 --- ansibleworks/settings/development.py | 26 ------ ansibleworks/settings/production.py | 43 --------- ansibleworks/ui/__init__.py | 0 app_setup/setup.yml | 6 +- awx/__init__.py | 26 ++++++ awx/devonly.py | 6 ++ {ansibleworks => awx}/main/__init__.py | 0 {ansibleworks => awx}/main/access.py | 4 +- {ansibleworks => awx}/main/admin.py | 6 +- {ansibleworks => awx}/main/authentication.py | 4 +- {ansibleworks => awx}/main/base_views.py | 14 +-- {ansibleworks => awx}/main/compat.py | 0 {ansibleworks => awx}/main/custom_filters.py | 0 {ansibleworks => awx}/main/forms.py | 4 +- .../main/migrations/0001_v12b1_initial.py | 2 +- .../main/migrations/0002_v12b2_changes.py | 2 +- .../main/migrations/0003_v12b2_changes.py | 2 +- .../main/migrations/0004_v12b2_changes.py | 2 +- .../main/migrations/0005_v12b2_changes.py | 2 +- .../main/migrations/0006_v12b2_changes.py | 2 +- .../main/migrations/__init__.py | 0 {ansibleworks => awx}/main/models/__init__.py | 4 +- {ansibleworks => awx}/main/pagination.py | 0 {ansibleworks => awx}/main/rbac.py | 6 +- {ansibleworks => awx}/main/renderers.py | 0 {ansibleworks => awx}/main/serializers.py | 4 +- {ansibleworks => awx}/main/tasks.py | 4 +- awx/main/tests/__init__.py | 11 +++ {ansibleworks => awx}/main/tests/base.py | 2 +- {ansibleworks => awx}/main/tests/inventory.py | 4 +- {ansibleworks => awx}/main/tests/jobs.py | 12 +-- .../main/tests/organizations.py | 4 +- {ansibleworks => awx}/main/tests/projects.py | 4 +- {ansibleworks => awx}/main/tests/scripts.py | 6 +- {ansibleworks => awx}/main/tests/tasks.py | 6 +- {ansibleworks => awx}/main/tests/users.py | 4 +- {ansibleworks => awx}/main/urls.py | 30 +++---- {ansibleworks => awx}/main/views.py | 18 ++-- {ansibleworks => awx}/middleware/__init__.py | 0 .../middleware/exceptions.py | 0 .../plugins/callback/job_event_callback.py | 6 +- {ansibleworks => awx}/scripts/inventory.py | 30 ++++++- {ansibleworks => awx}/settings/__init__.py | 0 {ansibleworks => awx}/settings/defaults.py | 32 +++---- awx/settings/development.py | 20 +++++ awx/settings/local_settings.py.example | 84 ++++++++++++++++++ awx/settings/production.py | 36 ++++++++ {ansibleworks => awx}/static/favicon.ico | Bin {ansibleworks => awx}/templates/403.html | 0 {ansibleworks => awx}/templates/404.html | 0 {ansibleworks => awx}/templates/500.html | 0 .../templates/admin/403.html | 0 .../templates/admin/404.html | 0 .../templates/admin/500.html | 0 .../templates/admin/base_site.html | 4 +- .../templates/rest_framework/api.html | 2 +- {ansibleworks => awx}/ui/README.md | 0 {ansibleworks => awx}/ui/TODO.md | 0 awx/ui/__init__.py | 2 + {ansibleworks => awx}/ui/ascii_mockups.md | 0 .../ui/context_processors.py | 0 {ansibleworks => awx}/ui/models.py | 0 .../ui/scripts/web-server.js | 0 .../ui/static/css/ansible-ui.css | 0 .../ui/static/css/bootstrap-responsive.css | 0 .../static/css/bootstrap-responsive.min.css | 0 .../ui/static/css/bootstrap.css | 0 .../ui/static/css/bootstrap.min.css | 0 .../ui/static/css/font-awesome.css | 0 .../ui/static/css/font-awesome.min.css | 0 .../css/redmond/images/animated-overlay.gif | Bin .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin .../images/ui-bg_flat_55_fbec88_40x100.png | Bin .../images/ui-bg_glass_75_d0e5f5_1x400.png | Bin .../images/ui-bg_glass_85_dfeffc_1x400.png | Bin .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin .../ui-bg_gloss-wave_55_5c9ccc_500x100.png | Bin .../ui-bg_inset-hard_100_f5f8f9_1x100.png | Bin .../ui-bg_inset-hard_100_fcfdfd_1x100.png | Bin .../images/ui-icons_217bc0_256x240.png | Bin .../images/ui-icons_2e83ff_256x240.png | Bin .../images/ui-icons_469bdd_256x240.png | Bin .../images/ui-icons_6da8d5_256x240.png | Bin .../images/ui-icons_cd0a0a_256x240.png | Bin .../images/ui-icons_d8e7f3_256x240.png | Bin .../images/ui-icons_f9bd01_256x240.png | Bin .../redmond/jquery-ui-1.10.3.custom.min.css | 0 .../ui/static/font/FontAwesome.otf | Bin .../ui/static/font/fontawesome-webfont.eot | Bin .../ui/static/font/fontawesome-webfont.svg | 0 .../ui/static/font/fontawesome-webfont.ttf | Bin .../ui/static/font/fontawesome-webfont.woff | Bin .../ui/static/img/ansible-logo-bw-invert.png | Bin .../ui/static/img/ansibleworks-logo.png | Bin .../ui/static/img/favicon.ico | Bin .../static/img/glyphicons-halflings-white.png | Bin .../ui/static/img/glyphicons-halflings.png | Bin {ansibleworks => awx}/ui/static/js/app.js | 0 {ansibleworks => awx}/ui/static/js/config.js | 0 .../ui/static/js/controllers/Admins.js | 0 .../static/js/controllers/Authentication.js | 0 .../ui/static/js/controllers/Credentials.js | 0 .../ui/static/js/controllers/Inventories.js | 0 .../ui/static/js/controllers/JobEvents.js | 0 .../ui/static/js/controllers/JobEvents.old | 0 .../ui/static/js/controllers/JobHosts.js | 0 .../ui/static/js/controllers/JobTemplates.js | 0 .../ui/static/js/controllers/Jobs.js | 0 .../ui/static/js/controllers/Organizations.js | 0 .../ui/static/js/controllers/Projects.js | 0 .../ui/static/js/controllers/Teams.js | 0 .../ui/static/js/controllers/Users.js | 0 .../ui/static/js/forms/Credentials.js | 0 .../ui/static/js/forms/Groups.js | 0 .../ui/static/js/forms/Hosts.js | 0 .../ui/static/js/forms/Inventories.js | 0 .../ui/static/js/forms/JobEvents.js | 0 .../ui/static/js/forms/JobEvents.js.old | 0 .../ui/static/js/forms/JobTemplates.js | 0 .../ui/static/js/forms/Jobs.js | 0 .../ui/static/js/forms/Organizations.js | 0 .../ui/static/js/forms/Projects.js | 0 .../ui/static/js/forms/Teams.js | 0 .../ui/static/js/forms/Users.js | 0 .../ui/static/js/helpers/Children.js | 0 .../ui/static/js/helpers/Events.js | 0 .../ui/static/js/helpers/Groups.js | 0 .../ui/static/js/helpers/Hosts.js | 0 .../ui/static/js/helpers/JobTemplate.js | 0 .../ui/static/js/helpers/Lookup.js | 0 .../ui/static/js/helpers/Parse.js | 0 .../ui/static/js/helpers/ProjectPath.js | 0 .../ui/static/js/helpers/api-defaults.js | 0 .../ui/static/js/helpers/inventory.js | 0 .../ui/static/js/helpers/md5.js | 0 .../ui/static/js/helpers/paginate.js | 0 .../ui/static/js/helpers/refresh-related.js | 0 .../ui/static/js/helpers/refresh.js | 0 .../ui/static/js/helpers/related-paginate.js | 0 .../ui/static/js/helpers/related-search.js | 0 .../ui/static/js/helpers/search.js | 0 .../ui/static/js/helpers/teams.js | 0 .../ui/static/js/lists/Admins.js | 0 .../ui/static/js/lists/Credentials.js | 0 .../ui/static/js/lists/Groups.js | 0 .../ui/static/js/lists/Hosts.js | 0 .../ui/static/js/lists/Inventories.js | 0 .../ui/static/js/lists/JobEvents.js | 0 .../ui/static/js/lists/JobHosts.js | 0 .../ui/static/js/lists/JobTemplates.js | 0 .../ui/static/js/lists/Jobs.js | 0 .../ui/static/js/lists/Organizations.js | 0 .../ui/static/js/lists/Projects.js | 0 .../ui/static/js/lists/Teams.js | 0 .../ui/static/js/lists/Users.js | 0 .../lib/angular/angular-bootstrap-prettify.js | 0 .../angular/angular-bootstrap-prettify.min.js | 0 .../static/lib/angular/angular-bootstrap.js | 0 .../lib/angular/angular-bootstrap.min.js | 0 .../ui/static/lib/angular/angular-cookies.js | 0 .../static/lib/angular/angular-cookies.min.js | 0 .../ui/static/lib/angular/angular-loader.js | 0 .../static/lib/angular/angular-loader.min.js | 0 .../ui/static/lib/angular/angular-mobile.js | 0 .../static/lib/angular/angular-mobile.min.js | 0 .../ui/static/lib/angular/angular-mocks.js | 0 .../ui/static/lib/angular/angular-resource.js | 0 .../lib/angular/angular-resource.min.js | 0 .../ui/static/lib/angular/angular-sanitize.js | 0 .../lib/angular/angular-sanitize.min.js | 0 .../ui/static/lib/angular/angular-scenario.js | 0 .../ui/static/lib/angular/angular.js | 0 .../ui/static/lib/angular/angular.min.js | 0 .../lib/angular/http-auth-interceptor.js | 0 .../ui/static/lib/ansible/api-loader.js | 0 .../ui/static/lib/ansible/authenticate.js | 0 .../ui/static/lib/ansible/directives.js | 0 .../ui/static/lib/ansible/filters.js | 0 .../ui/static/lib/ansible/form-generator.js | 0 .../static/lib/ansible/generator-helpers.js | 0 .../ui/static/lib/ansible/list-generator.js | 0 .../ui/static/lib/ansible/prompt-dialog.js | 0 .../ui/static/lib/ansible/rest-services.js | 0 .../ui/static/lib/ansible/utilities.js | 0 .../ui/static/lib/jquery/jquery-1.9.1.js | 0 .../ui/static/lib/jquery/jquery-1.9.1.min.js | 0 .../lib/jquery/jquery-ui-1.10.3.custom.min.js | 0 .../ui/static/lib/js-yaml/js-yaml.min.js | 0 .../ui/static/lib/jstree/README.txt | 0 .../ui/static/lib/jstree/_demo/_dump.sql | 0 .../lib/jstree/_demo/_inc/__mysql_errors.log | 0 .../lib/jstree/_demo/_inc/class._database.php | 0 .../jstree/_demo/_inc/class._database_i.php | 0 .../lib/jstree/_demo/_inc/class.tree.php | 0 .../ui/static/lib/jstree/_demo/_install.txt | 0 .../ui/static/lib/jstree/_demo/config.php | 0 .../ui/static/lib/jstree/_demo/file.png | Bin .../ui/static/lib/jstree/_demo/folder.png | Bin .../ui/static/lib/jstree/_demo/index.html | 0 .../ui/static/lib/jstree/_demo/root.png | Bin .../ui/static/lib/jstree/_demo/server.php | 0 .../ui/static/lib/jstree/_docs/!style.css | 0 .../ui/static/lib/jstree/_docs/_drive.png | Bin .../static/lib/jstree/_docs/_html_data.html | 0 .../static/lib/jstree/_docs/_json_data.json | 0 .../static/lib/jstree/_docs/_search_data.json | 0 .../lib/jstree/_docs/_search_result.json | 0 .../ui/static/lib/jstree/_docs/_xml_flat.xml | 0 .../ui/static/lib/jstree/_docs/_xml_nest.xml | 0 .../ui/static/lib/jstree/_docs/checkbox.html | 0 .../static/lib/jstree/_docs/contextmenu.html | 0 .../ui/static/lib/jstree/_docs/cookies.html | 0 .../ui/static/lib/jstree/_docs/core.html | 0 .../ui/static/lib/jstree/_docs/crrm.html | 0 .../ui/static/lib/jstree/_docs/dnd.html | 0 .../ui/static/lib/jstree/_docs/hotkeys.html | 0 .../ui/static/lib/jstree/_docs/html_data.html | 0 .../ui/static/lib/jstree/_docs/index.html | 0 .../ui/static/lib/jstree/_docs/json_data.html | 0 .../ui/static/lib/jstree/_docs/languages.html | 0 .../ui/static/lib/jstree/_docs/logo.png | Bin .../ui/static/lib/jstree/_docs/search.html | 0 .../ui/static/lib/jstree/_docs/sort.html | 0 .../static/lib/jstree/_docs/syntax/!script.js | 0 .../static/lib/jstree/_docs/syntax/!style.css | 0 .../lib/jstree/_docs/syntax/clipboard.swf | Bin .../static/lib/jstree/_docs/syntax/help.png | Bin .../lib/jstree/_docs/syntax/magnifier.png | Bin .../jstree/_docs/syntax/page_white_code.png | Bin .../jstree/_docs/syntax/page_white_copy.png | Bin .../lib/jstree/_docs/syntax/printer.png | Bin .../lib/jstree/_docs/syntax/wrapping.png | Bin .../static/lib/jstree/_docs/themeroller.html | 0 .../ui/static/lib/jstree/_docs/themes.html | 0 .../ui/static/lib/jstree/_docs/types.html | 0 .../ui/static/lib/jstree/_docs/ui.html | 0 .../ui/static/lib/jstree/_docs/unique.html | 0 .../ui/static/lib/jstree/_docs/xml_data.html | 0 .../static/lib/jstree/_lib/jquery.cookie.js | 0 .../static/lib/jstree/_lib/jquery.hotkeys.js | 0 .../ui/static/lib/jstree/_lib/jquery.js | 0 .../ui/static/lib/jstree/jquery.jstree.js | 0 .../ui/static/lib/jstree/themes/ansible/d.gif | Bin .../ui/static/lib/jstree/themes/ansible/d.png | Bin .../lib/jstree/themes/ansible/dot_for_ie.gif | Bin .../lib/jstree/themes/ansible/style.css | 0 .../lib/jstree/themes/ansible/throbber.gif | Bin .../ui/static/lib/jstree/themes/apple/bg.jpg | Bin .../ui/static/lib/jstree/themes/apple/d.png | Bin .../lib/jstree/themes/apple/dot_for_ie.gif | Bin .../static/lib/jstree/themes/apple/style.css | 0 .../lib/jstree/themes/apple/throbber.gif | Bin .../ui/static/lib/jstree/themes/classic/d.gif | Bin .../ui/static/lib/jstree/themes/classic/d.png | Bin .../lib/jstree/themes/classic/dot_for_ie.gif | Bin .../lib/jstree/themes/classic/style.css | 0 .../lib/jstree/themes/classic/throbber.gif | Bin .../lib/jstree/themes/default-rtl/d.gif | Bin .../lib/jstree/themes/default-rtl/d.png | Bin .../lib/jstree/themes/default-rtl/dots.gif | Bin .../lib/jstree/themes/default-rtl/style.css | 0 .../jstree/themes/default-rtl/throbber.gif | Bin .../ui/static/lib/jstree/themes/default/d.gif | Bin .../ui/static/lib/jstree/themes/default/d.png | Bin .../lib/jstree/themes/default/style.css | 0 .../lib/jstree/themes/default/throbber.gif | Bin .../ui/static/lib/md5/jquery.md5.js | 0 .../ui/static/lib/twitter/bootstrap.js | 0 .../ui/static/lib/twitter/bootstrap.min.js | 0 .../ui/static/partials/credentials.html | 0 .../ui/static/partials/dynamic-view.html | 0 .../ui/static/partials/inventories.html | 0 .../ui/static/partials/job_templates.html | 0 .../ui/static/partials/jobs.html | 0 .../ui/static/partials/login-dialog.html | 0 .../ui/static/partials/organizations.html | 0 .../ui/static/partials/projects.html | 0 .../ui/static/partials/teams.html | 0 .../ui/static/partials/users.html | 0 .../ui/templates/ui/index.html | 2 +- {ansibleworks => awx}/ui/urls.py | 2 +- {ansibleworks => awx}/ui/views.py | 0 {ansibleworks => awx}/urls.py | 12 +-- {ansibleworks => awx}/wsgi.py | 4 +- config/ansibleworks.conf | 32 ------- config/awx.conf | 32 +++++++ config/settings.py | 12 +-- SETUP.md => docs/SETUP.md | 0 TODO.md => docs/TODO.md | 0 {planning => docs}/api2.md | 0 {planning => docs}/use_cases.md | 0 manage.py | 8 +- requirements/dev.txt | 4 +- requirements/dev_local.txt | 4 +- requirements/prod.txt | 4 +- requirements/prod_local.txt | 4 +- requirements/test.txt | 4 +- setup.py | 24 ++--- tox.ini | 2 +- 306 files changed, 418 insertions(+), 314 deletions(-) delete mode 100644 ansibleworks/__init__.py delete mode 100644 ansibleworks/main/tests/__init__.py delete mode 100644 ansibleworks/settings/development.py delete mode 100644 ansibleworks/settings/production.py delete mode 100644 ansibleworks/ui/__init__.py create mode 100644 awx/__init__.py create mode 100644 awx/devonly.py rename {ansibleworks => awx}/main/__init__.py (100%) rename {ansibleworks => awx}/main/access.py (99%) rename {ansibleworks => awx}/main/admin.py (99%) rename {ansibleworks => awx}/main/authentication.py (94%) rename {ansibleworks => awx}/main/base_views.py (96%) rename {ansibleworks => awx}/main/compat.py (100%) rename {ansibleworks => awx}/main/custom_filters.py (100%) rename {ansibleworks => awx}/main/forms.py (99%) rename {ansibleworks => awx}/main/migrations/0001_v12b1_initial.py (99%) rename {ansibleworks => awx}/main/migrations/0002_v12b2_changes.py (99%) rename {ansibleworks => awx}/main/migrations/0003_v12b2_changes.py (99%) rename {ansibleworks => awx}/main/migrations/0004_v12b2_changes.py (99%) rename {ansibleworks => awx}/main/migrations/0005_v12b2_changes.py (99%) rename {ansibleworks => awx}/main/migrations/0006_v12b2_changes.py (99%) rename {ansibleworks => awx}/main/migrations/__init__.py (100%) rename {ansibleworks => awx}/main/models/__init__.py (99%) rename {ansibleworks => awx}/main/pagination.py (100%) rename {ansibleworks => awx}/main/rbac.py (97%) rename {ansibleworks => awx}/main/renderers.py (100%) rename {ansibleworks => awx}/main/serializers.py (99%) rename {ansibleworks => awx}/main/tasks.py (98%) create mode 100644 awx/main/tests/__init__.py rename {ansibleworks => awx}/main/tests/base.py (99%) rename {ansibleworks => awx}/main/tests/inventory.py (99%) rename {ansibleworks => awx}/main/tests/jobs.py (99%) rename {ansibleworks => awx}/main/tests/organizations.py (99%) rename {ansibleworks => awx}/main/tests/projects.py (99%) rename {ansibleworks => awx}/main/tests/scripts.py (99%) rename {ansibleworks => awx}/main/tests/tasks.py (99%) rename {ansibleworks => awx}/main/tests/users.py (99%) rename {ansibleworks => awx}/main/urls.py (91%) rename {ansibleworks => awx}/main/views.py (99%) rename {ansibleworks => awx}/middleware/__init__.py (100%) rename {ansibleworks => awx}/middleware/exceptions.py (100%) rename {ansibleworks => awx}/plugins/callback/job_event_callback.py (98%) rename {ansibleworks => awx}/scripts/inventory.py (76%) rename {ansibleworks => awx}/settings/__init__.py (100%) rename {ansibleworks => awx}/settings/defaults.py (91%) create mode 100644 awx/settings/development.py create mode 100644 awx/settings/local_settings.py.example create mode 100644 awx/settings/production.py rename {ansibleworks => awx}/static/favicon.ico (100%) rename {ansibleworks => awx}/templates/403.html (100%) rename {ansibleworks => awx}/templates/404.html (100%) rename {ansibleworks => awx}/templates/500.html (100%) rename {ansibleworks => awx}/templates/admin/403.html (100%) rename {ansibleworks => awx}/templates/admin/404.html (100%) rename {ansibleworks => awx}/templates/admin/500.html (100%) rename {ansibleworks => awx}/templates/admin/base_site.html (96%) rename {ansibleworks => awx}/templates/rest_framework/api.html (98%) rename {ansibleworks => awx}/ui/README.md (100%) rename {ansibleworks => awx}/ui/TODO.md (100%) create mode 100644 awx/ui/__init__.py rename {ansibleworks => awx}/ui/ascii_mockups.md (100%) rename {ansibleworks => awx}/ui/context_processors.py (100%) rename {ansibleworks => awx}/ui/models.py (100%) rename {ansibleworks => awx}/ui/scripts/web-server.js (100%) rename {ansibleworks => awx}/ui/static/css/ansible-ui.css (100%) rename {ansibleworks => awx}/ui/static/css/bootstrap-responsive.css (100%) rename {ansibleworks => awx}/ui/static/css/bootstrap-responsive.min.css (100%) rename {ansibleworks => awx}/ui/static/css/bootstrap.css (100%) rename {ansibleworks => awx}/ui/static/css/bootstrap.min.css (100%) rename {ansibleworks => awx}/ui/static/css/font-awesome.css (100%) rename {ansibleworks => awx}/ui/static/css/font-awesome.min.css (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/animated-overlay.gif (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_217bc0_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_2e83ff_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_469bdd_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_6da8d5_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_cd0a0a_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_d8e7f3_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/images/ui-icons_f9bd01_256x240.png (100%) rename {ansibleworks => awx}/ui/static/css/redmond/jquery-ui-1.10.3.custom.min.css (100%) rename {ansibleworks => awx}/ui/static/font/FontAwesome.otf (100%) rename {ansibleworks => awx}/ui/static/font/fontawesome-webfont.eot (100%) rename {ansibleworks => awx}/ui/static/font/fontawesome-webfont.svg (100%) rename {ansibleworks => awx}/ui/static/font/fontawesome-webfont.ttf (100%) rename {ansibleworks => awx}/ui/static/font/fontawesome-webfont.woff (100%) rename {ansibleworks => awx}/ui/static/img/ansible-logo-bw-invert.png (100%) rename {ansibleworks => awx}/ui/static/img/ansibleworks-logo.png (100%) rename {ansibleworks => awx}/ui/static/img/favicon.ico (100%) rename {ansibleworks => awx}/ui/static/img/glyphicons-halflings-white.png (100%) rename {ansibleworks => awx}/ui/static/img/glyphicons-halflings.png (100%) rename {ansibleworks => awx}/ui/static/js/app.js (100%) rename {ansibleworks => awx}/ui/static/js/config.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Admins.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Authentication.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Credentials.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Inventories.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/JobEvents.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/JobEvents.old (100%) rename {ansibleworks => awx}/ui/static/js/controllers/JobHosts.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/JobTemplates.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Jobs.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Organizations.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Projects.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Teams.js (100%) rename {ansibleworks => awx}/ui/static/js/controllers/Users.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Credentials.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Groups.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Hosts.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Inventories.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/JobEvents.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/JobEvents.js.old (100%) rename {ansibleworks => awx}/ui/static/js/forms/JobTemplates.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Jobs.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Organizations.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Projects.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Teams.js (100%) rename {ansibleworks => awx}/ui/static/js/forms/Users.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/Children.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/Events.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/Groups.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/Hosts.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/JobTemplate.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/Lookup.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/Parse.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/ProjectPath.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/api-defaults.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/inventory.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/md5.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/paginate.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/refresh-related.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/refresh.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/related-paginate.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/related-search.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/search.js (100%) rename {ansibleworks => awx}/ui/static/js/helpers/teams.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Admins.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Credentials.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Groups.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Hosts.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Inventories.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/JobEvents.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/JobHosts.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/JobTemplates.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Jobs.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Organizations.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Projects.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Teams.js (100%) rename {ansibleworks => awx}/ui/static/js/lists/Users.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-bootstrap-prettify.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-bootstrap-prettify.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-bootstrap.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-bootstrap.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-cookies.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-cookies.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-loader.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-loader.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-mobile.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-mobile.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-mocks.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-resource.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-resource.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-sanitize.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-sanitize.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular-scenario.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/angular.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/angular/http-auth-interceptor.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/api-loader.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/authenticate.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/directives.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/filters.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/form-generator.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/generator-helpers.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/list-generator.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/prompt-dialog.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/rest-services.js (100%) rename {ansibleworks => awx}/ui/static/lib/ansible/utilities.js (100%) rename {ansibleworks => awx}/ui/static/lib/jquery/jquery-1.9.1.js (100%) rename {ansibleworks => awx}/ui/static/lib/jquery/jquery-1.9.1.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/jquery/jquery-ui-1.10.3.custom.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/js-yaml/js-yaml.min.js (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/README.txt (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/_dump.sql (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/_inc/__mysql_errors.log (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/_inc/class._database.php (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/_inc/class._database_i.php (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/_inc/class.tree.php (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/_install.txt (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/config.php (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/file.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/folder.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/index.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/root.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_demo/server.php (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/!style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_drive.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_html_data.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_json_data.json (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_search_data.json (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_search_result.json (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_xml_flat.xml (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/_xml_nest.xml (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/checkbox.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/contextmenu.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/cookies.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/core.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/crrm.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/dnd.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/hotkeys.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/html_data.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/index.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/json_data.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/languages.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/logo.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/search.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/sort.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/!script.js (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/!style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/clipboard.swf (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/help.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/magnifier.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/page_white_code.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/page_white_copy.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/printer.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/syntax/wrapping.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/themeroller.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/themes.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/types.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/ui.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/unique.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_docs/xml_data.html (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_lib/jquery.cookie.js (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_lib/jquery.hotkeys.js (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/_lib/jquery.js (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/jquery.jstree.js (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/ansible/d.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/ansible/d.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/ansible/dot_for_ie.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/ansible/style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/ansible/throbber.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/apple/bg.jpg (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/apple/d.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/apple/dot_for_ie.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/apple/style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/apple/throbber.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/classic/d.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/classic/d.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/classic/dot_for_ie.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/classic/style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/classic/throbber.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default-rtl/d.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default-rtl/d.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default-rtl/dots.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default-rtl/style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default-rtl/throbber.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default/d.gif (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default/d.png (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default/style.css (100%) rename {ansibleworks => awx}/ui/static/lib/jstree/themes/default/throbber.gif (100%) rename {ansibleworks => awx}/ui/static/lib/md5/jquery.md5.js (100%) rename {ansibleworks => awx}/ui/static/lib/twitter/bootstrap.js (100%) rename {ansibleworks => awx}/ui/static/lib/twitter/bootstrap.min.js (100%) rename {ansibleworks => awx}/ui/static/partials/credentials.html (100%) rename {ansibleworks => awx}/ui/static/partials/dynamic-view.html (100%) rename {ansibleworks => awx}/ui/static/partials/inventories.html (100%) rename {ansibleworks => awx}/ui/static/partials/job_templates.html (100%) rename {ansibleworks => awx}/ui/static/partials/jobs.html (100%) rename {ansibleworks => awx}/ui/static/partials/login-dialog.html (100%) rename {ansibleworks => awx}/ui/static/partials/organizations.html (100%) rename {ansibleworks => awx}/ui/static/partials/projects.html (100%) rename {ansibleworks => awx}/ui/static/partials/teams.html (100%) rename {ansibleworks => awx}/ui/static/partials/users.html (100%) rename {ansibleworks => awx}/ui/templates/ui/index.html (98%) rename {ansibleworks => awx}/ui/urls.py (77%) rename {ansibleworks => awx}/ui/views.py (100%) rename {ansibleworks => awx}/urls.py (59%) rename {ansibleworks => awx}/wsgi.py (79%) delete mode 100644 config/ansibleworks.conf create mode 100644 config/awx.conf rename SETUP.md => docs/SETUP.md (100%) rename TODO.md => docs/TODO.md (100%) rename {planning => docs}/api2.md (100%) rename {planning => docs}/use_cases.md (100%) diff --git a/.gitignore b/.gitignore index fbd481b86a..bf49f92867 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ -ansibleworks/settings/local_settings.py* -ansibleworks/*.sqlite3 -ansibleworks/projects -ansibleworks/public/media -ansibleworks/public/static +awx/settings/local_settings.py* +awx/*.sqlite3 +awx/projects +awx/public/media +awx/public/static env/* build dist diff --git a/COPYING b/COPYING index a1677bbb52..2d1ac81ce7 100644 --- a/COPYING +++ b/COPYING @@ -1,6 +1,5 @@ -AnsibleWorks is commercial software licensed to you under -an annual agreement from AnsibleWorks. +AWX is commercial software licensed to you under an annual agreement from +AnsibleWorks. It is free for use for up to five managed servers or virtual instances, after which you must purchase a license. - diff --git a/MANIFEST.in b/MANIFEST.in index 8b3ed8aaf7..fe0395bf41 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,14 +1,15 @@ -recursive-include ansibleworks *.py -recursive-include ansibleworks/static *.ico -recursive-include ansibleworks/templates *.html -recursive-include ansibleworks/ui *.html *.js -recursive-include ansibleworks/ui/static *.css *.ico *.png *.gif *.jpg -recursive-include ansibleworks/ui/static *.eot *.svg *.ttf *.woff *.otf +recursive-include awx *.py +recursive-include awx/static *.ico +recursive-include awx/templates *.html +recursive-include awx/ui *.html *.js +recursive-include awx/ui/static *.css *.ico *.png *.gif *.jpg +recursive-include awx/ui/static *.eot *.svg *.ttf *.woff *.otf recursive-include config * -recursive-exclude ansibleworks/settings local_settings.py +recursive-exclude awx devonly.py +recursive-exclude awx/settings local_settings.py* include *.py *.txt *.md include MANIFEST.in include COPYING -prune ansibleworks/public -prune ansibleworks/projects -prune ansibleworks/ui/static/lib/jstree/_* +prune awx/public +prune awx/projects +prune awx/ui/static/lib/jstree/_* diff --git a/Makefile b/Makefile index 12a0f3aeb1..0a49ec0785 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PYTHON=python SITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") -RELEASE=ansibleworks-1.2b2 +RELEASE=awx-1.2b2 .PHONY: clean rebase push setup requirements requirements_pypi develop refresh \ adduser syncdb migrate dbchange dbshell runserver celeryd test \ @@ -20,7 +20,7 @@ rebase: push: git push origin master -# Use Ansible to setup AnsibleWorks development environment. +# Use Ansible to setup AWX development environment. setup: ansible-playbook app_setup/setup.yml --verbose -i "127.0.0.1," -c local -e working_dir=`pwd` @@ -34,8 +34,8 @@ requirements: requirements_pypi: pip install -r requirements/dev.txt -# "Install" ansibleworks package in development mode. Creates link to working -# copy in site-packages and installs ansibleworks-manage command. +# "Install" awx package in development mode. Creates link to working +# copy in site-packages and installs awx-manage command. develop: python setup.py develop @@ -60,10 +60,9 @@ migrate: syncdb dbchange: python manage.py schemamigration main v12b2_changes --auto -# access database shell -# asks for password # PYTHON_PATH=./acom python acom/manage.py dbshell +# access database shell, asks for password dbshell: - sudo -u postgres psql -d acom + sudo -u postgres psql -d awx # Run the built-in development webserver (by default on http://localhost:8013). runserver: @@ -122,5 +121,4 @@ rpm: sdist --define "_specdir %{_topdir}" \ --define '_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' \ --define "_sourcedir %{_topdir}" \ - -ba packaging/rpm/ansibleworks.spec - + -ba packaging/rpm/awx.spec diff --git a/README.md b/README.md index 7e3a61dd3d..3e791b545d 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ -AnsibleWorks -============ +AWX +=== -Formerly known as ansible-commander, AnsibleWorks provides a web-based user -interface and REST API built on top of Ansible. +Formerly known as ansible-commander and AnsibleWorks, AWX provides a web-based +user interface, REST API and task engine built on top of Ansible. The current version under development is 1.2-b2. Resources --------- -Refer to `CONTRIBUTING.md` to get started developing, testing and building -AnsibleWorks. +Refer to `CONTRIBUTING.md` to get started developing, testing and building AWX. -Refer to `setup/README.md` to get started deploying AnsibleWorks. +Refer to `setup/README.md` to get started deploying AWX. diff --git a/ansibleworks/__init__.py b/ansibleworks/__init__.py deleted file mode 100644 index 176fe860c3..0000000000 --- a/ansibleworks/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (c) 2013 AnsibleWorks, Inc. -# All Rights Reserved. - -__version__ = '1.2-b2' - -import os -import sys - -__all__ = ['__version__'] - -def manage(): - # Default to production mode unless being called from manage.py, which sets - # the environment variable for development mode instead. - os.environ.setdefault('DJANGO_SETTINGS_MODULE', - 'ansibleworks.settings.production') - from django.core.management import execute_from_command_line - if len(sys.argv) >= 2 and sys.argv[1] in ('version', '--version'): - sys.stdout.write('ansibleworks-%s\n' % __version__) - else: - execute_from_command_line(sys.argv) diff --git a/ansibleworks/main/tests/__init__.py b/ansibleworks/main/tests/__init__.py deleted file mode 100644 index eb51ca54c9..0000000000 --- a/ansibleworks/main/tests/__init__.py +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright (c) 2013 AnsibleWorks, Inc. -# All Rights Reserved. - -from ansibleworks.main.tests.organizations import OrganizationsTest -from ansibleworks.main.tests.users import UsersTest -from ansibleworks.main.tests.inventory import InventoryTest -from ansibleworks.main.tests.projects import ProjectsTest -from ansibleworks.main.tests.scripts import * -from ansibleworks.main.tests.tasks import RunJobTest -from ansibleworks.main.tests.jobs import * - diff --git a/ansibleworks/settings/development.py b/ansibleworks/settings/development.py deleted file mode 100644 index 12cd117549..0000000000 --- a/ansibleworks/settings/development.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) 2013 AnsibleWorks, Inc. -# All Rights Reserved. - -# Development settings for Ansible Commander project. - -from defaults import * - -# If a local_settings.py file is present here, use it and ignore the global -# settings. Normally local settings would only be present during development. -try: - local_settings_file = os.path.join(os.path.dirname(__file__), - 'local_settings.py') - execfile(local_settings_file) - # Hack so that the autoreload will detect changes to local_settings.py. - class dummymodule(str): - __file__ = property(lambda self: self) - sys.modules['local_settings'] = dummymodule(local_settings_file) -except IOError: - # Otherwise, rely on the global settings file specified in the environment, - # defaulting to /etc/ansibleworks/settings.py. - try: - settings_file = os.environ.get('ANSIBLEWORKS_SETTINGS_FILE', - '/etc/ansibleworks/settings.py') - execfile(settings_file) - except IOError: - pass diff --git a/ansibleworks/settings/production.py b/ansibleworks/settings/production.py deleted file mode 100644 index 346583cec6..0000000000 --- a/ansibleworks/settings/production.py +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright (c) 2013 AnsibleWorks, Inc. -# All Rights Reserved. - -# Production settings for Ansible Commander project. - -from defaults import * - -DEBUG = False -TEMPLATE_DEBUG = DEBUG - -# Clear database settings to force production environment to define them. -DATABASES = {} - -# Clear the secret key to force production environment to define it. -SECRET_KEY = None - -# Hosts/domain names that are valid for this site; required if DEBUG is False -# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts -ALLOWED_HOSTS = [] - -# Production should only use minified JS for UI. -# CLH 6/20/13 - leave the following set to False until we actually have minified js ready -USE_MINIFIED_JS = False - -INTERNAL_API_URL = 'http://127.0.0.1:80' - -# If a local_settings.py file is present here, use it and ignore the global -# settings. Normally, local settings would only be present during development. -try: - local_settings_file = os.path.join(os.path.dirname(__file__), - 'local_settings.py') - execfile(local_settings_file) -except IOError: - # Otherwise, rely on the global settings file specified in the environment, - # defaulting to /etc/ansibleworks/settings.py. - settings_file = os.environ.get('ANSIBLEWORKS_SETTINGS_FILE', - '/etc/ansibleworks/settings.py') - try: - execfile(settings_file) - except IOError: - from django.core.exceptions import ImproperlyConfigured - raise ImproperlyConfigured('No AnsibleWorks configuration found in %s'\ - % settings_file) diff --git a/ansibleworks/ui/__init__.py b/ansibleworks/ui/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app_setup/setup.yml b/app_setup/setup.yml index 8b227bbe02..75e5bd2e5b 100644 --- a/app_setup/setup.yml +++ b/app_setup/setup.yml @@ -44,13 +44,13 @@ # took out parameter... db=acom priv=ALL - name: setup the postgresql user postgresql_user: > - name=ansible_commander + name=awx password=${database_password} login_user=postgres sudo_user: postgres - name: create the database - postgresql_db: name=acom state=present + postgresql_db: name=awx state=present - name: configure the database authentication for runtime mode template: src=templates/pg_hba.j2 dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres @@ -59,7 +59,7 @@ service: name=postgresql state=restarted - name: configure python settings (with database password) - template: src=templates/local_settings.py.j2 dest=${working_dir}/ansibleworks/settings/local_settings.py + template: src=templates/local_settings.py.j2 dest=${working_dir}/awx/settings/local_settings.py - name: sync django database command: python ${working_dir}/manage.py syncdb --noinput diff --git a/awx/__init__.py b/awx/__init__.py new file mode 100644 index 0000000000..2d8bf6893e --- /dev/null +++ b/awx/__init__.py @@ -0,0 +1,26 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. + +__version__ = '1.2-b2' + +import os +import sys + +__all__ = ['__version__'] + +# Check for the presence/absence of "devonly" module to determine if running +# from a source code checkout or release packaage. +try: + import awx.devonly + MODE = 'development' +except ImportError: + MODE = 'production' + +def manage(): + # Update the default settings environment variable based on current mode. + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'awx.settings.%s' % MODE) + from django.core.management import execute_from_command_line + if len(sys.argv) >= 2 and sys.argv[1] in ('version', '--version'): + sys.stdout.write('awx-%s\n' % __version__) + else: + execute_from_command_line(sys.argv) diff --git a/awx/devonly.py b/awx/devonly.py new file mode 100644 index 0000000000..705a2189a1 --- /dev/null +++ b/awx/devonly.py @@ -0,0 +1,6 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. + +# This file should only be present in a source checkout, and never in a release +# package, to allow us to determine whether we're running in a development or +# production mode. diff --git a/ansibleworks/main/__init__.py b/awx/main/__init__.py similarity index 100% rename from ansibleworks/main/__init__.py rename to awx/main/__init__.py diff --git a/ansibleworks/main/access.py b/awx/main/access.py similarity index 99% rename from ansibleworks/main/access.py rename to awx/main/access.py index d621b3bbec..38ac6fdf9d 100644 --- a/ansibleworks/main/access.py +++ b/awx/main/access.py @@ -4,11 +4,11 @@ import logging from django.db.models import Q from django.contrib.auth.models import User -from ansibleworks.main.models import * +from awx.main.models import * __all__ = ['get_user_queryset', 'check_user_access'] -logger = logging.getLogger('ansibleworks.main.access') +logger = logging.getLogger('awx.main.access') access_registry = { # : [, ...], diff --git a/ansibleworks/main/admin.py b/awx/main/admin.py similarity index 99% rename from ansibleworks/main/admin.py rename to awx/main/admin.py index b3f48309b0..aee02ded88 100644 --- a/ansibleworks/main/admin.py +++ b/awx/main/admin.py @@ -15,9 +15,9 @@ from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User from django.contrib.auth.admin import UserAdmin -from ansibleworks.main.compat import format_html -from ansibleworks.main.models import * -from ansibleworks.main.forms import * +from awx.main.compat import format_html +from awx.main.models import * +from awx.main.forms import * class UserAdmin(UserAdmin): diff --git a/ansibleworks/main/authentication.py b/awx/main/authentication.py similarity index 94% rename from ansibleworks/main/authentication.py rename to awx/main/authentication.py index ce7d4a5202..79b2b4ee62 100644 --- a/ansibleworks/main/authentication.py +++ b/awx/main/authentication.py @@ -2,8 +2,8 @@ from rest_framework import authentication from rest_framework import exceptions -# AnsibleWorks -from ansibleworks.main.models import Job +# AWX +from awx.main.models import Job class JobCallbackAuthentication(authentication.BaseAuthentication): ''' diff --git a/ansibleworks/main/base_views.py b/awx/main/base_views.py similarity index 96% rename from ansibleworks/main/base_views.py rename to awx/main/base_views.py index 621f37aa85..7fc5a467e5 100644 --- a/ansibleworks/main/base_views.py +++ b/awx/main/base_views.py @@ -4,11 +4,11 @@ from django.http import HttpResponse, Http404 from django.views.decorators.csrf import csrf_exempt -from ansibleworks.main.models import * +from awx.main.models import * from django.contrib.auth.models import User -from ansibleworks.main.serializers import * -from ansibleworks.main.rbac import * -from ansibleworks.main.access import * +from awx.main.serializers import * +from awx.main.rbac import * +from awx.main.access import * from rest_framework.exceptions import PermissionDenied from rest_framework import mixins from rest_framework import generics @@ -141,10 +141,10 @@ class BaseSubList(BaseList): if self.__class__.parent_model == Organization: organization = Organization.objects.get(pk=data[inject_primary_key]) - import ansibleworks.main.views - if self.__class__ == ansibleworks.main.views.OrganizationUsersList: + import awx.main.views + if self.__class__ == awx.main.views.OrganizationUsersList: organization.users.add(obj) - elif self.__class__ == ansibleworks.main.views.OrganizationAdminsList: + elif self.__class__ == awx.main.views.OrganizationAdminsList: organization.admins.add(obj) else: diff --git a/ansibleworks/main/compat.py b/awx/main/compat.py similarity index 100% rename from ansibleworks/main/compat.py rename to awx/main/compat.py diff --git a/ansibleworks/main/custom_filters.py b/awx/main/custom_filters.py similarity index 100% rename from ansibleworks/main/custom_filters.py rename to awx/main/custom_filters.py diff --git a/ansibleworks/main/forms.py b/awx/main/forms.py similarity index 99% rename from ansibleworks/main/forms.py rename to awx/main/forms.py index 61fa4664a1..853678ddda 100644 --- a/ansibleworks/main/forms.py +++ b/awx/main/forms.py @@ -11,8 +11,8 @@ import yaml from django import forms from django.utils.translation import ugettext_lazy as _ -# AnsibleWorks -from ansibleworks.main.models import * +# AWX +from awx.main.models import * EMPTY_CHOICE = ('', '---------') diff --git a/ansibleworks/main/migrations/0001_v12b1_initial.py b/awx/main/migrations/0001_v12b1_initial.py similarity index 99% rename from ansibleworks/main/migrations/0001_v12b1_initial.py rename to awx/main/migrations/0001_v12b1_initial.py index 1b8ef4fdaf..3013e8176b 100644 --- a/ansibleworks/main/migrations/0001_v12b1_initial.py +++ b/awx/main/migrations/0001_v12b1_initial.py @@ -10,7 +10,7 @@ from django.db import models class Migration(SchemaMigration): - '''Complete initial migration for AnsibleWorks 1.2-b1 release.''' + '''Complete initial migration for AWX 1.2-b1 release.''' def forwards(self, orm): # Adding model 'Tag' diff --git a/ansibleworks/main/migrations/0002_v12b2_changes.py b/awx/main/migrations/0002_v12b2_changes.py similarity index 99% rename from ansibleworks/main/migrations/0002_v12b2_changes.py rename to awx/main/migrations/0002_v12b2_changes.py index 18421fbde0..06fd7bd219 100644 --- a/ansibleworks/main/migrations/0002_v12b2_changes.py +++ b/awx/main/migrations/0002_v12b2_changes.py @@ -7,7 +7,7 @@ from django.db import models class Migration(SchemaMigration): ''' - Schema migration for AnsibleWorks 1.2-b2 release. + Schema migration for AWX 1.2-b2 release. - Adds variables field on Host and Group models. - Adds job_tags and host_config_key fields on JobTemplate. - Adds job_tags, job_args, job_cwd, job_env fields on Job. diff --git a/ansibleworks/main/migrations/0003_v12b2_changes.py b/awx/main/migrations/0003_v12b2_changes.py similarity index 99% rename from ansibleworks/main/migrations/0003_v12b2_changes.py rename to awx/main/migrations/0003_v12b2_changes.py index 10560ac8cd..84a9012e0c 100644 --- a/ansibleworks/main/migrations/0003_v12b2_changes.py +++ b/awx/main/migrations/0003_v12b2_changes.py @@ -7,7 +7,7 @@ from django.db import models class Migration(DataMigration): ''' - Data migration for AnsibleWorks 1.2-b2 release. + Data migration for AWX 1.2-b2 release. - Update variables from VariableData.data for Host and Group models. - Update new char/text field values to be empty string if they are null. - Update failed flag for existing JobHostSummary models. diff --git a/ansibleworks/main/migrations/0004_v12b2_changes.py b/awx/main/migrations/0004_v12b2_changes.py similarity index 99% rename from ansibleworks/main/migrations/0004_v12b2_changes.py rename to awx/main/migrations/0004_v12b2_changes.py index 7af5157022..f8984566dc 100644 --- a/ansibleworks/main/migrations/0004_v12b2_changes.py +++ b/awx/main/migrations/0004_v12b2_changes.py @@ -7,7 +7,7 @@ from django.db import models class Migration(SchemaMigration): ''' - Schema migration for AnsibleWorks 1.2-b2 release. + Schema migration for AWX 1.2-b2 release. - Remove variable_data field on Host and Group models. - Remove VariableData model. - Remove null=True on new char fields previously added. diff --git a/ansibleworks/main/migrations/0005_v12b2_changes.py b/awx/main/migrations/0005_v12b2_changes.py similarity index 99% rename from ansibleworks/main/migrations/0005_v12b2_changes.py rename to awx/main/migrations/0005_v12b2_changes.py index 6e5e7e4991..7b136aa916 100644 --- a/ansibleworks/main/migrations/0005_v12b2_changes.py +++ b/awx/main/migrations/0005_v12b2_changes.py @@ -7,7 +7,7 @@ from django.db import models class Migration(SchemaMigration): ''' - Schema migration for AnsibleWorks 1.2-b2 release. + Schema migration for AWX 1.2-b2 release. - Add has_active_failures field on Inventory, Group and Host models. ''' diff --git a/ansibleworks/main/migrations/0006_v12b2_changes.py b/awx/main/migrations/0006_v12b2_changes.py similarity index 99% rename from ansibleworks/main/migrations/0006_v12b2_changes.py rename to awx/main/migrations/0006_v12b2_changes.py index 14309bb6bf..8193359d54 100644 --- a/ansibleworks/main/migrations/0006_v12b2_changes.py +++ b/awx/main/migrations/0006_v12b2_changes.py @@ -7,7 +7,7 @@ from django.db import models class Migration(SchemaMigration): ''' - Schema migration for AnsibleWorks 1.2-b2 release. + Schema migration for AWX 1.2-b2 release. - Add variables field on Inventory model. ''' diff --git a/ansibleworks/main/migrations/__init__.py b/awx/main/migrations/__init__.py similarity index 100% rename from ansibleworks/main/migrations/__init__.py rename to awx/main/migrations/__init__.py diff --git a/ansibleworks/main/models/__init__.py b/awx/main/models/__init__.py similarity index 99% rename from ansibleworks/main/models/__init__.py rename to awx/main/models/__init__.py index 0386fa3537..2d3de8ce25 100644 --- a/ansibleworks/main/models/__init__.py +++ b/awx/main/models/__init__.py @@ -83,7 +83,7 @@ class EditHelper(object): @classmethod def illegal_changes(cls, request, obj, model_class): ''' have any illegal changes been made (for a PUT request)? ''' - from ansibleworks.main.access import check_user_access + from awx.main.access import check_user_access #can_admin = model_class.can_user_administrate(request.user, obj, request.DATA) can_admin = check_user_access(request.user, User, 'change', obj, request.DATA) if (not can_admin) or (can_admin == 'partial'): @@ -846,7 +846,7 @@ class Job(CommonModel): return bool(self.status == 'new') def start(self, **kwargs): - from ansibleworks.main.tasks import RunJob + from awx.main.tasks import RunJob if not self.can_start: return False needed = self.get_passwords_needed_to_start() diff --git a/ansibleworks/main/pagination.py b/awx/main/pagination.py similarity index 100% rename from ansibleworks/main/pagination.py rename to awx/main/pagination.py diff --git a/ansibleworks/main/rbac.py b/awx/main/rbac.py similarity index 97% rename from ansibleworks/main/rbac.py rename to awx/main/rbac.py index afa41b41b4..5262135385 100644 --- a/ansibleworks/main/rbac.py +++ b/awx/main/rbac.py @@ -5,10 +5,10 @@ import logging from django.http import Http404 from rest_framework.exceptions import PermissionDenied from rest_framework import permissions -from ansibleworks.main.access import * -from ansibleworks.main.models import * +from awx.main.access import * +from awx.main.models import * -logger = logging.getLogger('ansibleworks.main.rbac') +logger = logging.getLogger('awx.main.rbac') # FIXME: this will probably need to be subclassed by object type diff --git a/ansibleworks/main/renderers.py b/awx/main/renderers.py similarity index 100% rename from ansibleworks/main/renderers.py rename to awx/main/renderers.py diff --git a/ansibleworks/main/serializers.py b/awx/main/serializers.py similarity index 99% rename from ansibleworks/main/serializers.py rename to awx/main/serializers.py index 70ba3404d7..4308f52070 100644 --- a/ansibleworks/main/serializers.py +++ b/awx/main/serializers.py @@ -15,8 +15,8 @@ from django.core.exceptions import ObjectDoesNotExist # Django REST Framework from rest_framework import serializers -# AnsibleWorks -from ansibleworks.main.models import * +# AWX +from awx.main.models import * BASE_FIELDS = ('id', 'url', 'related', 'summary_fields', 'created', 'name', 'description') diff --git a/ansibleworks/main/tasks.py b/awx/main/tasks.py similarity index 98% rename from ansibleworks/main/tasks.py rename to awx/main/tasks.py index 8d5aff34ed..dc725394c3 100644 --- a/ansibleworks/main/tasks.py +++ b/awx/main/tasks.py @@ -12,11 +12,11 @@ import traceback from celery import Task from django.conf import settings import pexpect -from ansibleworks.main.models import * +from awx.main.models import * __all__ = ['RunJob'] -logger = logging.getLogger('ansibleworks.main.tasks') +logger = logging.getLogger('awx.main.tasks') class RunJob(Task): ''' diff --git a/awx/main/tests/__init__.py b/awx/main/tests/__init__.py new file mode 100644 index 0000000000..0df7bbc7fe --- /dev/null +++ b/awx/main/tests/__init__.py @@ -0,0 +1,11 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. + +from awx.main.tests.organizations import OrganizationsTest +from awx.main.tests.users import UsersTest +from awx.main.tests.inventory import InventoryTest +from awx.main.tests.projects import ProjectsTest +from awx.main.tests.scripts import * +from awx.main.tests.tasks import RunJobTest +from awx.main.tests.jobs import * + diff --git a/ansibleworks/main/tests/base.py b/awx/main/tests/base.py similarity index 99% rename from ansibleworks/main/tests/base.py rename to awx/main/tests/base.py index 1087bd2c35..6784cc5ab6 100644 --- a/ansibleworks/main/tests/base.py +++ b/awx/main/tests/base.py @@ -13,7 +13,7 @@ from django.conf import settings from django.contrib.auth.models import User import django.test from django.test.client import Client -from ansibleworks.main.models import * +from awx.main.models import * class BaseTestMixin(object): ''' diff --git a/ansibleworks/main/tests/inventory.py b/awx/main/tests/inventory.py similarity index 99% rename from ansibleworks/main/tests/inventory.py rename to awx/main/tests/inventory.py index ad96e325a3..fee675a5a8 100644 --- a/ansibleworks/main/tests/inventory.py +++ b/awx/main/tests/inventory.py @@ -6,8 +6,8 @@ import json from django.contrib.auth.models import User as DjangoUser from django.core.urlresolvers import reverse -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseTest +from awx.main.models import * +from awx.main.tests.base import BaseTest class InventoryTest(BaseTest): diff --git a/ansibleworks/main/tests/jobs.py b/awx/main/tests/jobs.py similarity index 99% rename from ansibleworks/main/tests/jobs.py rename to awx/main/tests/jobs.py index 87765176fe..046d0a93fa 100644 --- a/ansibleworks/main/tests/jobs.py +++ b/awx/main/tests/jobs.py @@ -9,8 +9,8 @@ from django.db import transaction import django.test from django.test.client import Client from django.test.utils import override_settings -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseTestMixin +from awx.main.models import * +from awx.main.tests.base import BaseTestMixin __all__ = ['JobTemplateTest', 'JobTest', 'JobStartCancelTest'] @@ -221,9 +221,9 @@ class BaseJobTestMixin(BaseTestMixin): self.team_ops_west.users.add(self.user_iris) # Each user has his/her own set of credentials. - from ansibleworks.main.tests.tasks import (TEST_SSH_KEY_DATA, - TEST_SSH_KEY_DATA_LOCKED, - TEST_SSH_KEY_DATA_UNLOCK) + from awx.main.tests.tasks import (TEST_SSH_KEY_DATA, + TEST_SSH_KEY_DATA_LOCKED, + TEST_SSH_KEY_DATA_UNLOCK) self.cred_bob = self.user_bob.credentials.create( ssh_username='bob', ssh_password='ASK', @@ -824,7 +824,7 @@ class JobStartCancelTest(BaseJobTestMixin, django.test.LiveServerTestCase): self.assertEqual(job.status, 'failed') # Test with a job that prompts for SSH unlock key, given the right key. - from ansibleworks.main.tests.tasks import TEST_SSH_KEY_DATA_UNLOCK + from awx.main.tests.tasks import TEST_SSH_KEY_DATA_UNLOCK job = self.jt_ops_west_run.create_job( credential=self.cred_greg, created_by=self.user_sue, diff --git a/ansibleworks/main/tests/organizations.py b/awx/main/tests/organizations.py similarity index 99% rename from ansibleworks/main/tests/organizations.py rename to awx/main/tests/organizations.py index b4a57e7bb6..4ffa9ac475 100644 --- a/ansibleworks/main/tests/organizations.py +++ b/awx/main/tests/organizations.py @@ -8,8 +8,8 @@ from django.contrib.auth.models import User as DjangoUser from django.core.urlresolvers import reverse import django.test from django.test.client import Client -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseTest +from awx.main.models import * +from awx.main.tests.base import BaseTest class OrganizationsTest(BaseTest): diff --git a/ansibleworks/main/tests/projects.py b/awx/main/tests/projects.py similarity index 99% rename from ansibleworks/main/tests/projects.py rename to awx/main/tests/projects.py index 4058a5a0e4..63c4255f78 100644 --- a/ansibleworks/main/tests/projects.py +++ b/awx/main/tests/projects.py @@ -10,8 +10,8 @@ import django.test from django.test.client import Client from django.core.urlresolvers import reverse -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseTest +from awx.main.models import * +from awx.main.tests.base import BaseTest TEST_PLAYBOOK = '''- hosts: mygroup gather_facts: false diff --git a/ansibleworks/main/tests/scripts.py b/awx/main/tests/scripts.py similarity index 99% rename from ansibleworks/main/tests/scripts.py rename to awx/main/tests/scripts.py index b54b315291..5e4e589535 100644 --- a/ansibleworks/main/tests/scripts.py +++ b/awx/main/tests/scripts.py @@ -13,9 +13,9 @@ import tempfile from django.conf import settings from django.utils.timezone import now -# AnsibleWorks -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseLiveServerTest +# AWX +from awx.main.models import * +from awx.main.tests.base import BaseLiveServerTest __all__ = ['InventoryScriptTest'] diff --git a/ansibleworks/main/tests/tasks.py b/awx/main/tests/tasks.py similarity index 99% rename from ansibleworks/main/tests/tasks.py rename to awx/main/tests/tasks.py index 33bd99d897..27ba7a0b21 100644 --- a/ansibleworks/main/tests/tasks.py +++ b/awx/main/tests/tasks.py @@ -6,9 +6,9 @@ import shutil import tempfile from django.conf import settings from django.test.utils import override_settings -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseLiveServerTest -from ansibleworks.main.tasks import RunJob +from awx.main.models import * +from awx.main.tests.base import BaseLiveServerTest +from awx.main.tasks import RunJob TEST_PLAYBOOK = '''- hosts: test-group gather_facts: False diff --git a/ansibleworks/main/tests/users.py b/awx/main/tests/users.py similarity index 99% rename from ansibleworks/main/tests/users.py rename to awx/main/tests/users.py index 8571dacb29..bd6c893857 100644 --- a/ansibleworks/main/tests/users.py +++ b/awx/main/tests/users.py @@ -8,8 +8,8 @@ import django.test from django.test.client import Client from django.core.urlresolvers import reverse -from ansibleworks.main.models import * -from ansibleworks.main.tests.base import BaseTest +from awx.main.models import * +from awx.main.tests.base import BaseTest class UsersTest(BaseTest): diff --git a/ansibleworks/main/urls.py b/awx/main/urls.py similarity index 91% rename from ansibleworks/main/urls.py rename to awx/main/urls.py index a23a8419d1..8797c312b9 100644 --- a/ansibleworks/main/urls.py +++ b/awx/main/urls.py @@ -9,7 +9,7 @@ def url(regex, view, kwargs=None, name=None, prefix=''): name = view return original_url(regex, view, kwargs, name, prefix) -organization_urls = patterns('ansibleworks.main.views', +organization_urls = patterns('awx.main.views', url(r'^$', 'organization_list'), url(r'^(?P[0-9]+)/$', 'organization_detail'), url(r'^(?P[0-9]+)/users/$', 'organization_users_list'), @@ -19,7 +19,7 @@ organization_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/teams/$', 'organization_teams_list'), ) -user_urls = patterns('ansibleworks.main.views', +user_urls = patterns('awx.main.views', url(r'^$', 'user_list'), url(r'^(?P[0-9]+)/$', 'user_detail'), url(r'^(?P[0-9]+)/teams/$', 'user_teams_list'), @@ -30,14 +30,14 @@ user_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/permissions/$', 'user_permissions_list'), ) -project_urls = patterns('ansibleworks.main.views', +project_urls = patterns('awx.main.views', url(r'^$', 'project_list'), url(r'^(?P[0-9]+)/$', 'project_detail'), url(r'^(?P[0-9]+)/playbooks/$', 'project_detail_playbooks'), url(r'^(?P[0-9]+)/organizations/$', 'project_organizations_list'), ) -team_urls = patterns('ansibleworks.main.views', +team_urls = patterns('awx.main.views', url(r'^$', 'team_list'), url(r'^(?P[0-9]+)/$', 'team_detail'), url(r'^(?P[0-9]+)/projects/$', 'team_projects_list'), @@ -46,7 +46,7 @@ team_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/permissions/$', 'team_permissions_list'), ) -inventory_urls = patterns('ansibleworks.main.views', +inventory_urls = patterns('awx.main.views', url(r'^$', 'inventory_list'), url(r'^(?P[0-9]+)/$', 'inventory_detail'), url(r'^(?P[0-9]+)/hosts/$', 'inventory_hosts_list'), @@ -56,7 +56,7 @@ inventory_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/script/$', 'inventory_script_view'), ) -host_urls = patterns('ansibleworks.main.views', +host_urls = patterns('awx.main.views', url(r'^$', 'host_list'), url(r'^(?P[0-9]+)/$', 'host_detail'), url(r'^(?P[0-9]+)/variable_data/$', 'host_variable_detail'), @@ -66,7 +66,7 @@ host_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/job_host_summaries/$', 'host_job_host_summaries_list'), ) -group_urls = patterns('ansibleworks.main.views', +group_urls = patterns('awx.main.views', url(r'^$', 'group_list'), url(r'^(?P[0-9]+)/$', 'group_detail'), url(r'^(?P[0-9]+)/children/$', 'group_children_list'), @@ -77,23 +77,23 @@ group_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/job_host_summaries/$', 'group_job_host_summaries_list'), ) -credential_urls = patterns('ansibleworks.main.views', +credential_urls = patterns('awx.main.views', url(r'^$', 'credential_list'), url(r'^(?P[0-9]+)/$', 'credential_detail'), # See also credentials resources on users/teams. ) -permission_urls = patterns('ansibleworks.main.views', +permission_urls = patterns('awx.main.views', url(r'^(?P[0-9]+)/$', 'permission_detail'), ) -job_template_urls = patterns('ansibleworks.main.views', +job_template_urls = patterns('awx.main.views', url(r'^$', 'job_template_list'), url(r'^(?P[0-9]+)/$', 'job_template_detail'), url(r'^(?P[0-9]+)/jobs/$', 'job_template_jobs_list'), ) -job_urls = patterns('ansibleworks.main.views', +job_urls = patterns('awx.main.views', url(r'^$', 'job_list'), url(r'^(?P[0-9]+)/$', 'job_detail'), url(r'^(?P[0-9]+)/start/$', 'job_start'), @@ -102,18 +102,18 @@ job_urls = patterns('ansibleworks.main.views', url(r'^(?P[0-9]+)/job_events/$', 'job_job_events_list'), ) -job_host_summary_urls = patterns('ansibleworks.main.views', +job_host_summary_urls = patterns('awx.main.views', url(r'^(?P[0-9]+)/$', 'job_host_summary_detail'), ) -job_event_urls = patterns('ansibleworks.main.views', +job_event_urls = patterns('awx.main.views', url(r'^$', 'job_event_list'), url(r'^(?P[0-9]+)/$', 'job_event_detail'), url(r'^(?P[0-9]+)/children/$', 'job_event_children_list'), url(r'^(?P[0-9]+)/hosts/$', 'job_event_hosts_list'), ) -v1_urls = patterns('ansibleworks.main.views', +v1_urls = patterns('awx.main.views', url(r'^$', 'api_v1_root_view'), url(r'^config/$', 'api_v1_config_view'), url(r'^authtoken/$', 'auth_token_view'), @@ -133,7 +133,7 @@ v1_urls = patterns('ansibleworks.main.views', url(r'^job_events/', include(job_event_urls)), ) -urlpatterns = patterns('ansibleworks.main.views', +urlpatterns = patterns('awx.main.views', url(r'^$', 'api_root_view'), url(r'^v1/', include(v1_urls)), ) diff --git a/ansibleworks/main/views.py b/awx/main/views.py similarity index 99% rename from ansibleworks/main/views.py rename to awx/main/views.py index c7e74e8c6a..c3ae9524e4 100644 --- a/ansibleworks/main/views.py +++ b/awx/main/views.py @@ -24,13 +24,13 @@ from rest_framework.response import Response from rest_framework.settings import api_settings from rest_framework.views import APIView -# AnsibleWorks -from ansibleworks.main.access import * -from ansibleworks.main.authentication import JobCallbackAuthentication -from ansibleworks.main.base_views import * -from ansibleworks.main.models import * -from ansibleworks.main.rbac import * -from ansibleworks.main.serializers import * +# AWX +from awx.main.access import * +from awx.main.authentication import JobCallbackAuthentication +from awx.main.base_views import * +from awx.main.models import * +from awx.main.rbac import * +from awx.main.serializers import * def handle_error(request, status=404): context = {} @@ -53,7 +53,7 @@ def handle_500(request): class ApiRootView(APIView): ''' - This resource is the root of the AnsibleWorks REST API and provides + This resource is the root of the AWX REST API and provides information about the available API versions. ''' @@ -64,7 +64,7 @@ class ApiRootView(APIView): current = reverse('main:api_v1_root_view', args=[]) data = dict( - description = 'AnsibleWorks REST API', + description = 'AWX REST API', current_version = current, available_versions = dict( v1 = current diff --git a/ansibleworks/middleware/__init__.py b/awx/middleware/__init__.py similarity index 100% rename from ansibleworks/middleware/__init__.py rename to awx/middleware/__init__.py diff --git a/ansibleworks/middleware/exceptions.py b/awx/middleware/exceptions.py similarity index 100% rename from ansibleworks/middleware/exceptions.py rename to awx/middleware/exceptions.py diff --git a/ansibleworks/plugins/callback/job_event_callback.py b/awx/plugins/callback/job_event_callback.py similarity index 98% rename from ansibleworks/plugins/callback/job_event_callback.py rename to awx/plugins/callback/job_event_callback.py index e17ad634c0..40983a2e41 100644 --- a/ansibleworks/plugins/callback/job_event_callback.py +++ b/awx/plugins/callback/job_event_callback.py @@ -1,7 +1,7 @@ # Copyright (c) 2013 AnsibleWorks, Inc. -# This file is a utility Ansible plugin that is not part of the AnsibleWorks -# or Ansible packages. It does not import any code from either package, nor -# does its license apply to Ansible or AnsibleWorks. +# This file is a utility Ansible plugin that is not part of the AWX or Ansible +# packages. It does not import any code from either package, nor does its +# license apply to Ansible or AWX. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/ansibleworks/scripts/inventory.py b/awx/scripts/inventory.py similarity index 76% rename from ansibleworks/scripts/inventory.py rename to awx/scripts/inventory.py index 5234fd24a2..3d2e9d3ce1 100755 --- a/ansibleworks/scripts/inventory.py +++ b/awx/scripts/inventory.py @@ -1,7 +1,35 @@ #!/usr/bin/env python # Copyright (c) 2013 AnsibleWorks, Inc. -# All Rights Reserved. +# This file is a utility script that is not part of the AWX or Ansible +# packages. It does not import any code from either package, nor does its +# license apply to Ansible or AWX. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# Neither the name of the nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. # Python import json diff --git a/ansibleworks/settings/__init__.py b/awx/settings/__init__.py similarity index 100% rename from ansibleworks/settings/__init__.py rename to awx/settings/__init__.py diff --git a/ansibleworks/settings/defaults.py b/awx/settings/defaults.py similarity index 91% rename from ansibleworks/settings/defaults.py rename to awx/settings/defaults.py index 06190a2f26..593a1c9c0e 100644 --- a/ansibleworks/settings/defaults.py +++ b/awx/settings/defaults.py @@ -26,9 +26,9 @@ MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'acom.sqlite3'), + 'NAME': os.path.join(BASE_DIR, 'awx.sqlite3'), # Test database cannot be :memory: for celery/inventory tests to work. - 'TEST_NAME': os.path.join(BASE_DIR, 'acom_test.sqlite3'), + 'TEST_NAME': os.path.join(BASE_DIR, 'awx_test.sqlite3'), } } @@ -94,11 +94,11 @@ ALLOWED_HOSTS = [] TEMPLATE_CONTEXT_PROCESSORS += ( 'django.core.context_processors.request', - 'ansibleworks.ui.context_processors.settings', + 'awx.ui.context_processors.settings', ) MIDDLEWARE_CLASSES += ( - 'ansibleworks.middleware.exceptions.ExceptionMiddleware', + 'awx.middleware.exceptions.ExceptionMiddleware', 'django.middleware.transaction.TransactionMiddleware', # middleware loaded after this point will be subject to transactions ) @@ -107,9 +107,9 @@ TEMPLATE_DIRS = ( os.path.join(BASE_DIR, 'templates'), ) -ROOT_URLCONF = 'ansibleworks.urls' +ROOT_URLCONF = 'awx.urls' -WSGI_APPLICATION = 'ansibleworks.wsgi.application' +WSGI_APPLICATION = 'awx.wsgi.application' INSTALLED_APPS = ( 'django.contrib.admin', @@ -126,14 +126,14 @@ INSTALLED_APPS = ( 'djcelery', 'kombu.transport.django', 'taggit', - 'ansibleworks.main', - 'ansibleworks.ui', + 'awx.main', + 'awx.ui', ) INTERNAL_IPS = ('127.0.0.1',) REST_FRAMEWORK = { - 'DEFAULT_PAGINATION_SERIALIZER_CLASS': 'ansibleworks.main.pagination.PaginationSerializer', + 'DEFAULT_PAGINATION_SERIALIZER_CLASS': 'awx.main.pagination.PaginationSerializer', 'PAGINATE_BY': 25, 'PAGINATE_BY_PARAM': 'page_size', 'DEFAULT_AUTHENTICATION_CLASSES': ( @@ -142,7 +142,7 @@ REST_FRAMEWORK = { 'rest_framework.authentication.SessionAuthentication', ), 'DEFAULT_FILTER_BACKENDS': ( - 'ansibleworks.main.custom_filters.CustomFilterBackend', + 'awx.main.custom_filters.CustomFilterBackend', ), 'DEFAULT_PARSER_CLASSES': ( 'rest_framework.parsers.JSONParser', @@ -151,7 +151,7 @@ REST_FRAMEWORK = { ), 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework.renderers.JSONRenderer', - 'ansibleworks.main.renderers.BrowsableAPIRenderer', + 'awx.main.renderers.BrowsableAPIRenderer', ), } @@ -167,7 +167,7 @@ DEFAULT_FROM_EMAIL = 'webmaster@localhost' # Subject-line prefix for email messages send with django.core.mail.mail_admins # or ...mail_managers. Make sure to include the trailing space. -EMAIL_SUBJECT_PREFIX = '[AnsibleWorks] ' +EMAIL_SUBJECT_PREFIX = '[AWX] ' # The email backend to use. For possible shortcuts see django.core.mail. # The default is to use the SMTP backend. @@ -252,7 +252,7 @@ LOGGING = { '()': 'django.utils.log.RequireDebugFalse', }, 'require_debug_true': { - '()': 'ansibleworks.main.compat.RequireDebugTrue', + '()': 'awx.main.compat.RequireDebugTrue', }, }, 'formatters': { @@ -298,16 +298,16 @@ LOGGING = { 'py.warnings': { 'handlers': ['console'], }, - 'ansibleworks': { + 'awx': { 'handlers': ['console', 'file', 'syslog'], 'level': 'DEBUG', }, - 'ansibleworks.main.rbac': { + 'awx.main.rbac': { 'handlers': ['null'], # Comment the line below to show lots of permissions logging. 'propagate': False, }, - 'ansibleworks.main.access': { + 'awx.main.access': { 'handlers': ['null'], # Comment the line below to show lots of permissions logging. 'propagate': False, diff --git a/awx/settings/development.py b/awx/settings/development.py new file mode 100644 index 0000000000..8af7e064fc --- /dev/null +++ b/awx/settings/development.py @@ -0,0 +1,20 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. + +# Development settings for AWX project. + +from defaults import * + +# If a local_settings.py file is present in awx/settings/, use it to override +# default settings for development. If not present, we can still run using +# the defaults. +try: + local_settings_file = os.path.join(os.path.dirname(__file__), + 'local_settings.py') + execfile(local_settings_file) + # Hack so that the autoreload will detect changes to local_settings.py. + class dummymodule(str): + __file__ = property(lambda self: self) + sys.modules['local_settings'] = dummymodule(local_settings_file) +except IOError: + pass diff --git a/awx/settings/local_settings.py.example b/awx/settings/local_settings.py.example new file mode 100644 index 0000000000..306b07ed34 --- /dev/null +++ b/awx/settings/local_settings.py.example @@ -0,0 +1,84 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. + +# Local Django settings for AWX project. Rename to "local_settings.py" and +# edit as needed for your development environment. + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +# Database settings to use PostgreSQL for development. +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'awx', + 'USER': 'awx', + 'PASSWORD': 'AWXsome!', + 'HOST': '', + 'PORT': '', + } +} + +# Continue to use SQLite for unit tests instead of PostgreSQL. +if 'test' in sys.argv: + DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'awx.sqlite3'), + # Test database cannot be :memory: for celery/inventory tests to work. + 'TEST_NAME': os.path.join(BASE_DIR, 'awx_test.sqlite3'), + } + } + +# Absolute filesystem path to the directory to host projects (with playbooks). +# This directory should NOT be web-accessible. +PROJECTS_ROOT = os.path.join(BASE_DIR, 'projects') + +# Local time zone for this installation. Choices can be found here: +# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name +# although not all choices may be available on all operating systems. +# On Unix systems, a value of None will cause Django to use the same +# timezone as the operating system. +# If running in a Windows environment this must be set to the same as your +# system time zone. +TIME_ZONE = 'America/New_York' + +# Language code for this installation. All choices can be found here: +# http://www.i18nguy.com/unicode/language-identifiers.html +LANGUAGE_CODE = 'en-us' + +# SECURITY WARNING: keep the secret key used in production secret! +# Hardcoded values can leak through source control. Consider loading +# the secret key from an environment variable or a file instead. +SECRET_KEY = 'p7z7g1ql4%6+(6nlebb6hdk7sd^&fnjpal308%n%+p^_e6vo1y' + +# Email address that error messages come from. +SERVER_EMAIL = 'root@localhost' + +# The email backend to use. For possible shortcuts see django.core.mail. +# The default is to use the SMTP backend. +# Third-party backends can be specified by providing a Python path +# to a module that defines an EmailBackend class. +EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' + +# Host for sending email. +EMAIL_HOST = 'localhost' + +# Port for sending email. +EMAIL_PORT = 25 + +# Optional SMTP authentication information for EMAIL_HOST. +EMAIL_HOST_USER = '' +EMAIL_HOST_PASSWORD = '' +EMAIL_USE_TLS = False + +# Default email address to use for various automated correspondence from +# the site managers. +DEFAULT_FROM_EMAIL = 'webmaster@localhost' + +# Subject-line prefix for email messages send with django.core.mail.mail_admins +# or ...mail_managers. Make sure to include the trailing space. +EMAIL_SUBJECT_PREFIX = '[AWX] ' diff --git a/awx/settings/production.py b/awx/settings/production.py new file mode 100644 index 0000000000..78e0e5e7a2 --- /dev/null +++ b/awx/settings/production.py @@ -0,0 +1,36 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. + +# Production settings for AWX project. + +from defaults import * + +DEBUG = False +TEMPLATE_DEBUG = DEBUG + +# Clear database settings to force production environment to define them. +DATABASES = {} + +# Clear the secret key to force production environment to define it. +SECRET_KEY = None + +# Hosts/domain names that are valid for this site; required if DEBUG is False +# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts +ALLOWED_HOSTS = [] + +# Production should only use minified JS for UI. +# CLH 6/20/13 - leave the following set to False until we actually have minified js ready +USE_MINIFIED_JS = False + +INTERNAL_API_URL = 'http://127.0.0.1:80' + +# Load remaining settings from the global settings file specified in the +# environment, defaulting to /etc/awx/settings.py. +settings_file = os.environ.get('AWX_SETTINGS_FILE', + '/etc/awx/settings.py') +try: + execfile(settings_file) +except IOError: + from django.core.exceptions import ImproperlyConfigured + raise ImproperlyConfigured('No AWX configuration found in %s'\ + % settings_file) diff --git a/ansibleworks/static/favicon.ico b/awx/static/favicon.ico similarity index 100% rename from ansibleworks/static/favicon.ico rename to awx/static/favicon.ico diff --git a/ansibleworks/templates/403.html b/awx/templates/403.html similarity index 100% rename from ansibleworks/templates/403.html rename to awx/templates/403.html diff --git a/ansibleworks/templates/404.html b/awx/templates/404.html similarity index 100% rename from ansibleworks/templates/404.html rename to awx/templates/404.html diff --git a/ansibleworks/templates/500.html b/awx/templates/500.html similarity index 100% rename from ansibleworks/templates/500.html rename to awx/templates/500.html diff --git a/ansibleworks/templates/admin/403.html b/awx/templates/admin/403.html similarity index 100% rename from ansibleworks/templates/admin/403.html rename to awx/templates/admin/403.html diff --git a/ansibleworks/templates/admin/404.html b/awx/templates/admin/404.html similarity index 100% rename from ansibleworks/templates/admin/404.html rename to awx/templates/admin/404.html diff --git a/ansibleworks/templates/admin/500.html b/awx/templates/admin/500.html similarity index 100% rename from ansibleworks/templates/admin/500.html rename to awx/templates/admin/500.html diff --git a/ansibleworks/templates/admin/base_site.html b/awx/templates/admin/base_site.html similarity index 96% rename from ansibleworks/templates/admin/base_site.html rename to awx/templates/admin/base_site.html index d3e2a08ab1..e126697744 100644 --- a/ansibleworks/templates/admin/base_site.html +++ b/awx/templates/admin/base_site.html @@ -2,7 +2,7 @@ {% extends "admin/base.html" %} {% load i18n %} -{% block title %}{{ title }} | {% trans 'AnsibleWorks Admin' %}{% endblock %} +{% block title %}{{ title }} | {% trans 'AWX Admin' %}{% endblock %} {% block extrastyle %} {{ block.super }} @@ -172,7 +172,7 @@ if (django.jQuery) { {% endblock %} {% block branding %} -

{% trans 'AnsibleWorks Admin' %}

+

{% trans 'AWX Admin' %}

{% endblock %} {% block userlinks %} diff --git a/ansibleworks/templates/rest_framework/api.html b/awx/templates/rest_framework/api.html similarity index 98% rename from ansibleworks/templates/rest_framework/api.html rename to awx/templates/rest_framework/api.html index 402907a61d..1f8637bfa2 100644 --- a/ansibleworks/templates/rest_framework/api.html +++ b/awx/templates/rest_framework/api.html @@ -1,7 +1,7 @@ {% extends 'rest_framework/base.html' %} {% load i18n %} -{% block title %}{% trans 'AnsibleWorks REST API' %}{% endblock %} +{% block title %}{% trans 'AWX REST API' %}{% endblock %} {% block style %} {{ block.super }} diff --git a/ansibleworks/ui/README.md b/awx/ui/README.md similarity index 100% rename from ansibleworks/ui/README.md rename to awx/ui/README.md diff --git a/ansibleworks/ui/TODO.md b/awx/ui/TODO.md similarity index 100% rename from ansibleworks/ui/TODO.md rename to awx/ui/TODO.md diff --git a/awx/ui/__init__.py b/awx/ui/__init__.py new file mode 100644 index 0000000000..bfec7ec6ea --- /dev/null +++ b/awx/ui/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2013 AnsibleWorks, Inc. +# All Rights Reserved. diff --git a/ansibleworks/ui/ascii_mockups.md b/awx/ui/ascii_mockups.md similarity index 100% rename from ansibleworks/ui/ascii_mockups.md rename to awx/ui/ascii_mockups.md diff --git a/ansibleworks/ui/context_processors.py b/awx/ui/context_processors.py similarity index 100% rename from ansibleworks/ui/context_processors.py rename to awx/ui/context_processors.py diff --git a/ansibleworks/ui/models.py b/awx/ui/models.py similarity index 100% rename from ansibleworks/ui/models.py rename to awx/ui/models.py diff --git a/ansibleworks/ui/scripts/web-server.js b/awx/ui/scripts/web-server.js similarity index 100% rename from ansibleworks/ui/scripts/web-server.js rename to awx/ui/scripts/web-server.js diff --git a/ansibleworks/ui/static/css/ansible-ui.css b/awx/ui/static/css/ansible-ui.css similarity index 100% rename from ansibleworks/ui/static/css/ansible-ui.css rename to awx/ui/static/css/ansible-ui.css diff --git a/ansibleworks/ui/static/css/bootstrap-responsive.css b/awx/ui/static/css/bootstrap-responsive.css similarity index 100% rename from ansibleworks/ui/static/css/bootstrap-responsive.css rename to awx/ui/static/css/bootstrap-responsive.css diff --git a/ansibleworks/ui/static/css/bootstrap-responsive.min.css b/awx/ui/static/css/bootstrap-responsive.min.css similarity index 100% rename from ansibleworks/ui/static/css/bootstrap-responsive.min.css rename to awx/ui/static/css/bootstrap-responsive.min.css diff --git a/ansibleworks/ui/static/css/bootstrap.css b/awx/ui/static/css/bootstrap.css similarity index 100% rename from ansibleworks/ui/static/css/bootstrap.css rename to awx/ui/static/css/bootstrap.css diff --git a/ansibleworks/ui/static/css/bootstrap.min.css b/awx/ui/static/css/bootstrap.min.css similarity index 100% rename from ansibleworks/ui/static/css/bootstrap.min.css rename to awx/ui/static/css/bootstrap.min.css diff --git a/ansibleworks/ui/static/css/font-awesome.css b/awx/ui/static/css/font-awesome.css similarity index 100% rename from ansibleworks/ui/static/css/font-awesome.css rename to awx/ui/static/css/font-awesome.css diff --git a/ansibleworks/ui/static/css/font-awesome.min.css b/awx/ui/static/css/font-awesome.min.css similarity index 100% rename from ansibleworks/ui/static/css/font-awesome.min.css rename to awx/ui/static/css/font-awesome.min.css diff --git a/ansibleworks/ui/static/css/redmond/images/animated-overlay.gif b/awx/ui/static/css/redmond/images/animated-overlay.gif similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/animated-overlay.gif rename to awx/ui/static/css/redmond/images/animated-overlay.gif diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png b/awx/ui/static/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png rename to awx/ui/static/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png b/awx/ui/static/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png rename to awx/ui/static/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png b/awx/ui/static/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png rename to awx/ui/static/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png b/awx/ui/static/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png rename to awx/ui/static/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png b/awx/ui/static/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png rename to awx/ui/static/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png b/awx/ui/static/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png rename to awx/ui/static/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png b/awx/ui/static/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png rename to awx/ui/static/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png b/awx/ui/static/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png rename to awx/ui/static/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_217bc0_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_217bc0_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_217bc0_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_217bc0_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_2e83ff_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_2e83ff_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_2e83ff_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_2e83ff_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_469bdd_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_469bdd_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_469bdd_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_469bdd_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_6da8d5_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_6da8d5_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_6da8d5_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_6da8d5_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_cd0a0a_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_cd0a0a_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_cd0a0a_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_cd0a0a_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_d8e7f3_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_d8e7f3_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_d8e7f3_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_d8e7f3_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/images/ui-icons_f9bd01_256x240.png b/awx/ui/static/css/redmond/images/ui-icons_f9bd01_256x240.png similarity index 100% rename from ansibleworks/ui/static/css/redmond/images/ui-icons_f9bd01_256x240.png rename to awx/ui/static/css/redmond/images/ui-icons_f9bd01_256x240.png diff --git a/ansibleworks/ui/static/css/redmond/jquery-ui-1.10.3.custom.min.css b/awx/ui/static/css/redmond/jquery-ui-1.10.3.custom.min.css similarity index 100% rename from ansibleworks/ui/static/css/redmond/jquery-ui-1.10.3.custom.min.css rename to awx/ui/static/css/redmond/jquery-ui-1.10.3.custom.min.css diff --git a/ansibleworks/ui/static/font/FontAwesome.otf b/awx/ui/static/font/FontAwesome.otf similarity index 100% rename from ansibleworks/ui/static/font/FontAwesome.otf rename to awx/ui/static/font/FontAwesome.otf diff --git a/ansibleworks/ui/static/font/fontawesome-webfont.eot b/awx/ui/static/font/fontawesome-webfont.eot similarity index 100% rename from ansibleworks/ui/static/font/fontawesome-webfont.eot rename to awx/ui/static/font/fontawesome-webfont.eot diff --git a/ansibleworks/ui/static/font/fontawesome-webfont.svg b/awx/ui/static/font/fontawesome-webfont.svg similarity index 100% rename from ansibleworks/ui/static/font/fontawesome-webfont.svg rename to awx/ui/static/font/fontawesome-webfont.svg diff --git a/ansibleworks/ui/static/font/fontawesome-webfont.ttf b/awx/ui/static/font/fontawesome-webfont.ttf similarity index 100% rename from ansibleworks/ui/static/font/fontawesome-webfont.ttf rename to awx/ui/static/font/fontawesome-webfont.ttf diff --git a/ansibleworks/ui/static/font/fontawesome-webfont.woff b/awx/ui/static/font/fontawesome-webfont.woff similarity index 100% rename from ansibleworks/ui/static/font/fontawesome-webfont.woff rename to awx/ui/static/font/fontawesome-webfont.woff diff --git a/ansibleworks/ui/static/img/ansible-logo-bw-invert.png b/awx/ui/static/img/ansible-logo-bw-invert.png similarity index 100% rename from ansibleworks/ui/static/img/ansible-logo-bw-invert.png rename to awx/ui/static/img/ansible-logo-bw-invert.png diff --git a/ansibleworks/ui/static/img/ansibleworks-logo.png b/awx/ui/static/img/ansibleworks-logo.png similarity index 100% rename from ansibleworks/ui/static/img/ansibleworks-logo.png rename to awx/ui/static/img/ansibleworks-logo.png diff --git a/ansibleworks/ui/static/img/favicon.ico b/awx/ui/static/img/favicon.ico similarity index 100% rename from ansibleworks/ui/static/img/favicon.ico rename to awx/ui/static/img/favicon.ico diff --git a/ansibleworks/ui/static/img/glyphicons-halflings-white.png b/awx/ui/static/img/glyphicons-halflings-white.png similarity index 100% rename from ansibleworks/ui/static/img/glyphicons-halflings-white.png rename to awx/ui/static/img/glyphicons-halflings-white.png diff --git a/ansibleworks/ui/static/img/glyphicons-halflings.png b/awx/ui/static/img/glyphicons-halflings.png similarity index 100% rename from ansibleworks/ui/static/img/glyphicons-halflings.png rename to awx/ui/static/img/glyphicons-halflings.png diff --git a/ansibleworks/ui/static/js/app.js b/awx/ui/static/js/app.js similarity index 100% rename from ansibleworks/ui/static/js/app.js rename to awx/ui/static/js/app.js diff --git a/ansibleworks/ui/static/js/config.js b/awx/ui/static/js/config.js similarity index 100% rename from ansibleworks/ui/static/js/config.js rename to awx/ui/static/js/config.js diff --git a/ansibleworks/ui/static/js/controllers/Admins.js b/awx/ui/static/js/controllers/Admins.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Admins.js rename to awx/ui/static/js/controllers/Admins.js diff --git a/ansibleworks/ui/static/js/controllers/Authentication.js b/awx/ui/static/js/controllers/Authentication.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Authentication.js rename to awx/ui/static/js/controllers/Authentication.js diff --git a/ansibleworks/ui/static/js/controllers/Credentials.js b/awx/ui/static/js/controllers/Credentials.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Credentials.js rename to awx/ui/static/js/controllers/Credentials.js diff --git a/ansibleworks/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Inventories.js rename to awx/ui/static/js/controllers/Inventories.js diff --git a/ansibleworks/ui/static/js/controllers/JobEvents.js b/awx/ui/static/js/controllers/JobEvents.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/JobEvents.js rename to awx/ui/static/js/controllers/JobEvents.js diff --git a/ansibleworks/ui/static/js/controllers/JobEvents.old b/awx/ui/static/js/controllers/JobEvents.old similarity index 100% rename from ansibleworks/ui/static/js/controllers/JobEvents.old rename to awx/ui/static/js/controllers/JobEvents.old diff --git a/ansibleworks/ui/static/js/controllers/JobHosts.js b/awx/ui/static/js/controllers/JobHosts.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/JobHosts.js rename to awx/ui/static/js/controllers/JobHosts.js diff --git a/ansibleworks/ui/static/js/controllers/JobTemplates.js b/awx/ui/static/js/controllers/JobTemplates.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/JobTemplates.js rename to awx/ui/static/js/controllers/JobTemplates.js diff --git a/ansibleworks/ui/static/js/controllers/Jobs.js b/awx/ui/static/js/controllers/Jobs.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Jobs.js rename to awx/ui/static/js/controllers/Jobs.js diff --git a/ansibleworks/ui/static/js/controllers/Organizations.js b/awx/ui/static/js/controllers/Organizations.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Organizations.js rename to awx/ui/static/js/controllers/Organizations.js diff --git a/ansibleworks/ui/static/js/controllers/Projects.js b/awx/ui/static/js/controllers/Projects.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Projects.js rename to awx/ui/static/js/controllers/Projects.js diff --git a/ansibleworks/ui/static/js/controllers/Teams.js b/awx/ui/static/js/controllers/Teams.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Teams.js rename to awx/ui/static/js/controllers/Teams.js diff --git a/ansibleworks/ui/static/js/controllers/Users.js b/awx/ui/static/js/controllers/Users.js similarity index 100% rename from ansibleworks/ui/static/js/controllers/Users.js rename to awx/ui/static/js/controllers/Users.js diff --git a/ansibleworks/ui/static/js/forms/Credentials.js b/awx/ui/static/js/forms/Credentials.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Credentials.js rename to awx/ui/static/js/forms/Credentials.js diff --git a/ansibleworks/ui/static/js/forms/Groups.js b/awx/ui/static/js/forms/Groups.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Groups.js rename to awx/ui/static/js/forms/Groups.js diff --git a/ansibleworks/ui/static/js/forms/Hosts.js b/awx/ui/static/js/forms/Hosts.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Hosts.js rename to awx/ui/static/js/forms/Hosts.js diff --git a/ansibleworks/ui/static/js/forms/Inventories.js b/awx/ui/static/js/forms/Inventories.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Inventories.js rename to awx/ui/static/js/forms/Inventories.js diff --git a/ansibleworks/ui/static/js/forms/JobEvents.js b/awx/ui/static/js/forms/JobEvents.js similarity index 100% rename from ansibleworks/ui/static/js/forms/JobEvents.js rename to awx/ui/static/js/forms/JobEvents.js diff --git a/ansibleworks/ui/static/js/forms/JobEvents.js.old b/awx/ui/static/js/forms/JobEvents.js.old similarity index 100% rename from ansibleworks/ui/static/js/forms/JobEvents.js.old rename to awx/ui/static/js/forms/JobEvents.js.old diff --git a/ansibleworks/ui/static/js/forms/JobTemplates.js b/awx/ui/static/js/forms/JobTemplates.js similarity index 100% rename from ansibleworks/ui/static/js/forms/JobTemplates.js rename to awx/ui/static/js/forms/JobTemplates.js diff --git a/ansibleworks/ui/static/js/forms/Jobs.js b/awx/ui/static/js/forms/Jobs.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Jobs.js rename to awx/ui/static/js/forms/Jobs.js diff --git a/ansibleworks/ui/static/js/forms/Organizations.js b/awx/ui/static/js/forms/Organizations.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Organizations.js rename to awx/ui/static/js/forms/Organizations.js diff --git a/ansibleworks/ui/static/js/forms/Projects.js b/awx/ui/static/js/forms/Projects.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Projects.js rename to awx/ui/static/js/forms/Projects.js diff --git a/ansibleworks/ui/static/js/forms/Teams.js b/awx/ui/static/js/forms/Teams.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Teams.js rename to awx/ui/static/js/forms/Teams.js diff --git a/ansibleworks/ui/static/js/forms/Users.js b/awx/ui/static/js/forms/Users.js similarity index 100% rename from ansibleworks/ui/static/js/forms/Users.js rename to awx/ui/static/js/forms/Users.js diff --git a/ansibleworks/ui/static/js/helpers/Children.js b/awx/ui/static/js/helpers/Children.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/Children.js rename to awx/ui/static/js/helpers/Children.js diff --git a/ansibleworks/ui/static/js/helpers/Events.js b/awx/ui/static/js/helpers/Events.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/Events.js rename to awx/ui/static/js/helpers/Events.js diff --git a/ansibleworks/ui/static/js/helpers/Groups.js b/awx/ui/static/js/helpers/Groups.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/Groups.js rename to awx/ui/static/js/helpers/Groups.js diff --git a/ansibleworks/ui/static/js/helpers/Hosts.js b/awx/ui/static/js/helpers/Hosts.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/Hosts.js rename to awx/ui/static/js/helpers/Hosts.js diff --git a/ansibleworks/ui/static/js/helpers/JobTemplate.js b/awx/ui/static/js/helpers/JobTemplate.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/JobTemplate.js rename to awx/ui/static/js/helpers/JobTemplate.js diff --git a/ansibleworks/ui/static/js/helpers/Lookup.js b/awx/ui/static/js/helpers/Lookup.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/Lookup.js rename to awx/ui/static/js/helpers/Lookup.js diff --git a/ansibleworks/ui/static/js/helpers/Parse.js b/awx/ui/static/js/helpers/Parse.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/Parse.js rename to awx/ui/static/js/helpers/Parse.js diff --git a/ansibleworks/ui/static/js/helpers/ProjectPath.js b/awx/ui/static/js/helpers/ProjectPath.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/ProjectPath.js rename to awx/ui/static/js/helpers/ProjectPath.js diff --git a/ansibleworks/ui/static/js/helpers/api-defaults.js b/awx/ui/static/js/helpers/api-defaults.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/api-defaults.js rename to awx/ui/static/js/helpers/api-defaults.js diff --git a/ansibleworks/ui/static/js/helpers/inventory.js b/awx/ui/static/js/helpers/inventory.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/inventory.js rename to awx/ui/static/js/helpers/inventory.js diff --git a/ansibleworks/ui/static/js/helpers/md5.js b/awx/ui/static/js/helpers/md5.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/md5.js rename to awx/ui/static/js/helpers/md5.js diff --git a/ansibleworks/ui/static/js/helpers/paginate.js b/awx/ui/static/js/helpers/paginate.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/paginate.js rename to awx/ui/static/js/helpers/paginate.js diff --git a/ansibleworks/ui/static/js/helpers/refresh-related.js b/awx/ui/static/js/helpers/refresh-related.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/refresh-related.js rename to awx/ui/static/js/helpers/refresh-related.js diff --git a/ansibleworks/ui/static/js/helpers/refresh.js b/awx/ui/static/js/helpers/refresh.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/refresh.js rename to awx/ui/static/js/helpers/refresh.js diff --git a/ansibleworks/ui/static/js/helpers/related-paginate.js b/awx/ui/static/js/helpers/related-paginate.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/related-paginate.js rename to awx/ui/static/js/helpers/related-paginate.js diff --git a/ansibleworks/ui/static/js/helpers/related-search.js b/awx/ui/static/js/helpers/related-search.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/related-search.js rename to awx/ui/static/js/helpers/related-search.js diff --git a/ansibleworks/ui/static/js/helpers/search.js b/awx/ui/static/js/helpers/search.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/search.js rename to awx/ui/static/js/helpers/search.js diff --git a/ansibleworks/ui/static/js/helpers/teams.js b/awx/ui/static/js/helpers/teams.js similarity index 100% rename from ansibleworks/ui/static/js/helpers/teams.js rename to awx/ui/static/js/helpers/teams.js diff --git a/ansibleworks/ui/static/js/lists/Admins.js b/awx/ui/static/js/lists/Admins.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Admins.js rename to awx/ui/static/js/lists/Admins.js diff --git a/ansibleworks/ui/static/js/lists/Credentials.js b/awx/ui/static/js/lists/Credentials.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Credentials.js rename to awx/ui/static/js/lists/Credentials.js diff --git a/ansibleworks/ui/static/js/lists/Groups.js b/awx/ui/static/js/lists/Groups.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Groups.js rename to awx/ui/static/js/lists/Groups.js diff --git a/ansibleworks/ui/static/js/lists/Hosts.js b/awx/ui/static/js/lists/Hosts.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Hosts.js rename to awx/ui/static/js/lists/Hosts.js diff --git a/ansibleworks/ui/static/js/lists/Inventories.js b/awx/ui/static/js/lists/Inventories.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Inventories.js rename to awx/ui/static/js/lists/Inventories.js diff --git a/ansibleworks/ui/static/js/lists/JobEvents.js b/awx/ui/static/js/lists/JobEvents.js similarity index 100% rename from ansibleworks/ui/static/js/lists/JobEvents.js rename to awx/ui/static/js/lists/JobEvents.js diff --git a/ansibleworks/ui/static/js/lists/JobHosts.js b/awx/ui/static/js/lists/JobHosts.js similarity index 100% rename from ansibleworks/ui/static/js/lists/JobHosts.js rename to awx/ui/static/js/lists/JobHosts.js diff --git a/ansibleworks/ui/static/js/lists/JobTemplates.js b/awx/ui/static/js/lists/JobTemplates.js similarity index 100% rename from ansibleworks/ui/static/js/lists/JobTemplates.js rename to awx/ui/static/js/lists/JobTemplates.js diff --git a/ansibleworks/ui/static/js/lists/Jobs.js b/awx/ui/static/js/lists/Jobs.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Jobs.js rename to awx/ui/static/js/lists/Jobs.js diff --git a/ansibleworks/ui/static/js/lists/Organizations.js b/awx/ui/static/js/lists/Organizations.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Organizations.js rename to awx/ui/static/js/lists/Organizations.js diff --git a/ansibleworks/ui/static/js/lists/Projects.js b/awx/ui/static/js/lists/Projects.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Projects.js rename to awx/ui/static/js/lists/Projects.js diff --git a/ansibleworks/ui/static/js/lists/Teams.js b/awx/ui/static/js/lists/Teams.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Teams.js rename to awx/ui/static/js/lists/Teams.js diff --git a/ansibleworks/ui/static/js/lists/Users.js b/awx/ui/static/js/lists/Users.js similarity index 100% rename from ansibleworks/ui/static/js/lists/Users.js rename to awx/ui/static/js/lists/Users.js diff --git a/ansibleworks/ui/static/lib/angular/angular-bootstrap-prettify.js b/awx/ui/static/lib/angular/angular-bootstrap-prettify.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-bootstrap-prettify.js rename to awx/ui/static/lib/angular/angular-bootstrap-prettify.js diff --git a/ansibleworks/ui/static/lib/angular/angular-bootstrap-prettify.min.js b/awx/ui/static/lib/angular/angular-bootstrap-prettify.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-bootstrap-prettify.min.js rename to awx/ui/static/lib/angular/angular-bootstrap-prettify.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-bootstrap.js b/awx/ui/static/lib/angular/angular-bootstrap.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-bootstrap.js rename to awx/ui/static/lib/angular/angular-bootstrap.js diff --git a/ansibleworks/ui/static/lib/angular/angular-bootstrap.min.js b/awx/ui/static/lib/angular/angular-bootstrap.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-bootstrap.min.js rename to awx/ui/static/lib/angular/angular-bootstrap.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-cookies.js b/awx/ui/static/lib/angular/angular-cookies.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-cookies.js rename to awx/ui/static/lib/angular/angular-cookies.js diff --git a/ansibleworks/ui/static/lib/angular/angular-cookies.min.js b/awx/ui/static/lib/angular/angular-cookies.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-cookies.min.js rename to awx/ui/static/lib/angular/angular-cookies.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-loader.js b/awx/ui/static/lib/angular/angular-loader.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-loader.js rename to awx/ui/static/lib/angular/angular-loader.js diff --git a/ansibleworks/ui/static/lib/angular/angular-loader.min.js b/awx/ui/static/lib/angular/angular-loader.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-loader.min.js rename to awx/ui/static/lib/angular/angular-loader.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-mobile.js b/awx/ui/static/lib/angular/angular-mobile.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-mobile.js rename to awx/ui/static/lib/angular/angular-mobile.js diff --git a/ansibleworks/ui/static/lib/angular/angular-mobile.min.js b/awx/ui/static/lib/angular/angular-mobile.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-mobile.min.js rename to awx/ui/static/lib/angular/angular-mobile.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-mocks.js b/awx/ui/static/lib/angular/angular-mocks.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-mocks.js rename to awx/ui/static/lib/angular/angular-mocks.js diff --git a/ansibleworks/ui/static/lib/angular/angular-resource.js b/awx/ui/static/lib/angular/angular-resource.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-resource.js rename to awx/ui/static/lib/angular/angular-resource.js diff --git a/ansibleworks/ui/static/lib/angular/angular-resource.min.js b/awx/ui/static/lib/angular/angular-resource.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-resource.min.js rename to awx/ui/static/lib/angular/angular-resource.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-sanitize.js b/awx/ui/static/lib/angular/angular-sanitize.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-sanitize.js rename to awx/ui/static/lib/angular/angular-sanitize.js diff --git a/ansibleworks/ui/static/lib/angular/angular-sanitize.min.js b/awx/ui/static/lib/angular/angular-sanitize.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-sanitize.min.js rename to awx/ui/static/lib/angular/angular-sanitize.min.js diff --git a/ansibleworks/ui/static/lib/angular/angular-scenario.js b/awx/ui/static/lib/angular/angular-scenario.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular-scenario.js rename to awx/ui/static/lib/angular/angular-scenario.js diff --git a/ansibleworks/ui/static/lib/angular/angular.js b/awx/ui/static/lib/angular/angular.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular.js rename to awx/ui/static/lib/angular/angular.js diff --git a/ansibleworks/ui/static/lib/angular/angular.min.js b/awx/ui/static/lib/angular/angular.min.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/angular.min.js rename to awx/ui/static/lib/angular/angular.min.js diff --git a/ansibleworks/ui/static/lib/angular/http-auth-interceptor.js b/awx/ui/static/lib/angular/http-auth-interceptor.js similarity index 100% rename from ansibleworks/ui/static/lib/angular/http-auth-interceptor.js rename to awx/ui/static/lib/angular/http-auth-interceptor.js diff --git a/ansibleworks/ui/static/lib/ansible/api-loader.js b/awx/ui/static/lib/ansible/api-loader.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/api-loader.js rename to awx/ui/static/lib/ansible/api-loader.js diff --git a/ansibleworks/ui/static/lib/ansible/authenticate.js b/awx/ui/static/lib/ansible/authenticate.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/authenticate.js rename to awx/ui/static/lib/ansible/authenticate.js diff --git a/ansibleworks/ui/static/lib/ansible/directives.js b/awx/ui/static/lib/ansible/directives.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/directives.js rename to awx/ui/static/lib/ansible/directives.js diff --git a/ansibleworks/ui/static/lib/ansible/filters.js b/awx/ui/static/lib/ansible/filters.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/filters.js rename to awx/ui/static/lib/ansible/filters.js diff --git a/ansibleworks/ui/static/lib/ansible/form-generator.js b/awx/ui/static/lib/ansible/form-generator.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/form-generator.js rename to awx/ui/static/lib/ansible/form-generator.js diff --git a/ansibleworks/ui/static/lib/ansible/generator-helpers.js b/awx/ui/static/lib/ansible/generator-helpers.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/generator-helpers.js rename to awx/ui/static/lib/ansible/generator-helpers.js diff --git a/ansibleworks/ui/static/lib/ansible/list-generator.js b/awx/ui/static/lib/ansible/list-generator.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/list-generator.js rename to awx/ui/static/lib/ansible/list-generator.js diff --git a/ansibleworks/ui/static/lib/ansible/prompt-dialog.js b/awx/ui/static/lib/ansible/prompt-dialog.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/prompt-dialog.js rename to awx/ui/static/lib/ansible/prompt-dialog.js diff --git a/ansibleworks/ui/static/lib/ansible/rest-services.js b/awx/ui/static/lib/ansible/rest-services.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/rest-services.js rename to awx/ui/static/lib/ansible/rest-services.js diff --git a/ansibleworks/ui/static/lib/ansible/utilities.js b/awx/ui/static/lib/ansible/utilities.js similarity index 100% rename from ansibleworks/ui/static/lib/ansible/utilities.js rename to awx/ui/static/lib/ansible/utilities.js diff --git a/ansibleworks/ui/static/lib/jquery/jquery-1.9.1.js b/awx/ui/static/lib/jquery/jquery-1.9.1.js similarity index 100% rename from ansibleworks/ui/static/lib/jquery/jquery-1.9.1.js rename to awx/ui/static/lib/jquery/jquery-1.9.1.js diff --git a/ansibleworks/ui/static/lib/jquery/jquery-1.9.1.min.js b/awx/ui/static/lib/jquery/jquery-1.9.1.min.js similarity index 100% rename from ansibleworks/ui/static/lib/jquery/jquery-1.9.1.min.js rename to awx/ui/static/lib/jquery/jquery-1.9.1.min.js diff --git a/ansibleworks/ui/static/lib/jquery/jquery-ui-1.10.3.custom.min.js b/awx/ui/static/lib/jquery/jquery-ui-1.10.3.custom.min.js similarity index 100% rename from ansibleworks/ui/static/lib/jquery/jquery-ui-1.10.3.custom.min.js rename to awx/ui/static/lib/jquery/jquery-ui-1.10.3.custom.min.js diff --git a/ansibleworks/ui/static/lib/js-yaml/js-yaml.min.js b/awx/ui/static/lib/js-yaml/js-yaml.min.js similarity index 100% rename from ansibleworks/ui/static/lib/js-yaml/js-yaml.min.js rename to awx/ui/static/lib/js-yaml/js-yaml.min.js diff --git a/ansibleworks/ui/static/lib/jstree/README.txt b/awx/ui/static/lib/jstree/README.txt similarity index 100% rename from ansibleworks/ui/static/lib/jstree/README.txt rename to awx/ui/static/lib/jstree/README.txt diff --git a/ansibleworks/ui/static/lib/jstree/_demo/_dump.sql b/awx/ui/static/lib/jstree/_demo/_dump.sql similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/_dump.sql rename to awx/ui/static/lib/jstree/_demo/_dump.sql diff --git a/ansibleworks/ui/static/lib/jstree/_demo/_inc/__mysql_errors.log b/awx/ui/static/lib/jstree/_demo/_inc/__mysql_errors.log similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/_inc/__mysql_errors.log rename to awx/ui/static/lib/jstree/_demo/_inc/__mysql_errors.log diff --git a/ansibleworks/ui/static/lib/jstree/_demo/_inc/class._database.php b/awx/ui/static/lib/jstree/_demo/_inc/class._database.php similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/_inc/class._database.php rename to awx/ui/static/lib/jstree/_demo/_inc/class._database.php diff --git a/ansibleworks/ui/static/lib/jstree/_demo/_inc/class._database_i.php b/awx/ui/static/lib/jstree/_demo/_inc/class._database_i.php similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/_inc/class._database_i.php rename to awx/ui/static/lib/jstree/_demo/_inc/class._database_i.php diff --git a/ansibleworks/ui/static/lib/jstree/_demo/_inc/class.tree.php b/awx/ui/static/lib/jstree/_demo/_inc/class.tree.php similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/_inc/class.tree.php rename to awx/ui/static/lib/jstree/_demo/_inc/class.tree.php diff --git a/ansibleworks/ui/static/lib/jstree/_demo/_install.txt b/awx/ui/static/lib/jstree/_demo/_install.txt similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/_install.txt rename to awx/ui/static/lib/jstree/_demo/_install.txt diff --git a/ansibleworks/ui/static/lib/jstree/_demo/config.php b/awx/ui/static/lib/jstree/_demo/config.php similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/config.php rename to awx/ui/static/lib/jstree/_demo/config.php diff --git a/ansibleworks/ui/static/lib/jstree/_demo/file.png b/awx/ui/static/lib/jstree/_demo/file.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/file.png rename to awx/ui/static/lib/jstree/_demo/file.png diff --git a/ansibleworks/ui/static/lib/jstree/_demo/folder.png b/awx/ui/static/lib/jstree/_demo/folder.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/folder.png rename to awx/ui/static/lib/jstree/_demo/folder.png diff --git a/ansibleworks/ui/static/lib/jstree/_demo/index.html b/awx/ui/static/lib/jstree/_demo/index.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/index.html rename to awx/ui/static/lib/jstree/_demo/index.html diff --git a/ansibleworks/ui/static/lib/jstree/_demo/root.png b/awx/ui/static/lib/jstree/_demo/root.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/root.png rename to awx/ui/static/lib/jstree/_demo/root.png diff --git a/ansibleworks/ui/static/lib/jstree/_demo/server.php b/awx/ui/static/lib/jstree/_demo/server.php similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_demo/server.php rename to awx/ui/static/lib/jstree/_demo/server.php diff --git a/ansibleworks/ui/static/lib/jstree/_docs/!style.css b/awx/ui/static/lib/jstree/_docs/!style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/!style.css rename to awx/ui/static/lib/jstree/_docs/!style.css diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_drive.png b/awx/ui/static/lib/jstree/_docs/_drive.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_drive.png rename to awx/ui/static/lib/jstree/_docs/_drive.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_html_data.html b/awx/ui/static/lib/jstree/_docs/_html_data.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_html_data.html rename to awx/ui/static/lib/jstree/_docs/_html_data.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_json_data.json b/awx/ui/static/lib/jstree/_docs/_json_data.json similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_json_data.json rename to awx/ui/static/lib/jstree/_docs/_json_data.json diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_search_data.json b/awx/ui/static/lib/jstree/_docs/_search_data.json similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_search_data.json rename to awx/ui/static/lib/jstree/_docs/_search_data.json diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_search_result.json b/awx/ui/static/lib/jstree/_docs/_search_result.json similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_search_result.json rename to awx/ui/static/lib/jstree/_docs/_search_result.json diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_xml_flat.xml b/awx/ui/static/lib/jstree/_docs/_xml_flat.xml similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_xml_flat.xml rename to awx/ui/static/lib/jstree/_docs/_xml_flat.xml diff --git a/ansibleworks/ui/static/lib/jstree/_docs/_xml_nest.xml b/awx/ui/static/lib/jstree/_docs/_xml_nest.xml similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/_xml_nest.xml rename to awx/ui/static/lib/jstree/_docs/_xml_nest.xml diff --git a/ansibleworks/ui/static/lib/jstree/_docs/checkbox.html b/awx/ui/static/lib/jstree/_docs/checkbox.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/checkbox.html rename to awx/ui/static/lib/jstree/_docs/checkbox.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/contextmenu.html b/awx/ui/static/lib/jstree/_docs/contextmenu.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/contextmenu.html rename to awx/ui/static/lib/jstree/_docs/contextmenu.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/cookies.html b/awx/ui/static/lib/jstree/_docs/cookies.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/cookies.html rename to awx/ui/static/lib/jstree/_docs/cookies.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/core.html b/awx/ui/static/lib/jstree/_docs/core.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/core.html rename to awx/ui/static/lib/jstree/_docs/core.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/crrm.html b/awx/ui/static/lib/jstree/_docs/crrm.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/crrm.html rename to awx/ui/static/lib/jstree/_docs/crrm.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/dnd.html b/awx/ui/static/lib/jstree/_docs/dnd.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/dnd.html rename to awx/ui/static/lib/jstree/_docs/dnd.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/hotkeys.html b/awx/ui/static/lib/jstree/_docs/hotkeys.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/hotkeys.html rename to awx/ui/static/lib/jstree/_docs/hotkeys.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/html_data.html b/awx/ui/static/lib/jstree/_docs/html_data.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/html_data.html rename to awx/ui/static/lib/jstree/_docs/html_data.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/index.html b/awx/ui/static/lib/jstree/_docs/index.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/index.html rename to awx/ui/static/lib/jstree/_docs/index.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/json_data.html b/awx/ui/static/lib/jstree/_docs/json_data.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/json_data.html rename to awx/ui/static/lib/jstree/_docs/json_data.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/languages.html b/awx/ui/static/lib/jstree/_docs/languages.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/languages.html rename to awx/ui/static/lib/jstree/_docs/languages.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/logo.png b/awx/ui/static/lib/jstree/_docs/logo.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/logo.png rename to awx/ui/static/lib/jstree/_docs/logo.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/search.html b/awx/ui/static/lib/jstree/_docs/search.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/search.html rename to awx/ui/static/lib/jstree/_docs/search.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/sort.html b/awx/ui/static/lib/jstree/_docs/sort.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/sort.html rename to awx/ui/static/lib/jstree/_docs/sort.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/!script.js b/awx/ui/static/lib/jstree/_docs/syntax/!script.js similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/!script.js rename to awx/ui/static/lib/jstree/_docs/syntax/!script.js diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/!style.css b/awx/ui/static/lib/jstree/_docs/syntax/!style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/!style.css rename to awx/ui/static/lib/jstree/_docs/syntax/!style.css diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/clipboard.swf b/awx/ui/static/lib/jstree/_docs/syntax/clipboard.swf similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/clipboard.swf rename to awx/ui/static/lib/jstree/_docs/syntax/clipboard.swf diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/help.png b/awx/ui/static/lib/jstree/_docs/syntax/help.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/help.png rename to awx/ui/static/lib/jstree/_docs/syntax/help.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/magnifier.png b/awx/ui/static/lib/jstree/_docs/syntax/magnifier.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/magnifier.png rename to awx/ui/static/lib/jstree/_docs/syntax/magnifier.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/page_white_code.png b/awx/ui/static/lib/jstree/_docs/syntax/page_white_code.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/page_white_code.png rename to awx/ui/static/lib/jstree/_docs/syntax/page_white_code.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/page_white_copy.png b/awx/ui/static/lib/jstree/_docs/syntax/page_white_copy.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/page_white_copy.png rename to awx/ui/static/lib/jstree/_docs/syntax/page_white_copy.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/printer.png b/awx/ui/static/lib/jstree/_docs/syntax/printer.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/printer.png rename to awx/ui/static/lib/jstree/_docs/syntax/printer.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/syntax/wrapping.png b/awx/ui/static/lib/jstree/_docs/syntax/wrapping.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/syntax/wrapping.png rename to awx/ui/static/lib/jstree/_docs/syntax/wrapping.png diff --git a/ansibleworks/ui/static/lib/jstree/_docs/themeroller.html b/awx/ui/static/lib/jstree/_docs/themeroller.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/themeroller.html rename to awx/ui/static/lib/jstree/_docs/themeroller.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/themes.html b/awx/ui/static/lib/jstree/_docs/themes.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/themes.html rename to awx/ui/static/lib/jstree/_docs/themes.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/types.html b/awx/ui/static/lib/jstree/_docs/types.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/types.html rename to awx/ui/static/lib/jstree/_docs/types.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/ui.html b/awx/ui/static/lib/jstree/_docs/ui.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/ui.html rename to awx/ui/static/lib/jstree/_docs/ui.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/unique.html b/awx/ui/static/lib/jstree/_docs/unique.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/unique.html rename to awx/ui/static/lib/jstree/_docs/unique.html diff --git a/ansibleworks/ui/static/lib/jstree/_docs/xml_data.html b/awx/ui/static/lib/jstree/_docs/xml_data.html similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_docs/xml_data.html rename to awx/ui/static/lib/jstree/_docs/xml_data.html diff --git a/ansibleworks/ui/static/lib/jstree/_lib/jquery.cookie.js b/awx/ui/static/lib/jstree/_lib/jquery.cookie.js similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_lib/jquery.cookie.js rename to awx/ui/static/lib/jstree/_lib/jquery.cookie.js diff --git a/ansibleworks/ui/static/lib/jstree/_lib/jquery.hotkeys.js b/awx/ui/static/lib/jstree/_lib/jquery.hotkeys.js similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_lib/jquery.hotkeys.js rename to awx/ui/static/lib/jstree/_lib/jquery.hotkeys.js diff --git a/ansibleworks/ui/static/lib/jstree/_lib/jquery.js b/awx/ui/static/lib/jstree/_lib/jquery.js similarity index 100% rename from ansibleworks/ui/static/lib/jstree/_lib/jquery.js rename to awx/ui/static/lib/jstree/_lib/jquery.js diff --git a/ansibleworks/ui/static/lib/jstree/jquery.jstree.js b/awx/ui/static/lib/jstree/jquery.jstree.js similarity index 100% rename from ansibleworks/ui/static/lib/jstree/jquery.jstree.js rename to awx/ui/static/lib/jstree/jquery.jstree.js diff --git a/ansibleworks/ui/static/lib/jstree/themes/ansible/d.gif b/awx/ui/static/lib/jstree/themes/ansible/d.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/ansible/d.gif rename to awx/ui/static/lib/jstree/themes/ansible/d.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/ansible/d.png b/awx/ui/static/lib/jstree/themes/ansible/d.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/ansible/d.png rename to awx/ui/static/lib/jstree/themes/ansible/d.png diff --git a/ansibleworks/ui/static/lib/jstree/themes/ansible/dot_for_ie.gif b/awx/ui/static/lib/jstree/themes/ansible/dot_for_ie.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/ansible/dot_for_ie.gif rename to awx/ui/static/lib/jstree/themes/ansible/dot_for_ie.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/ansible/style.css b/awx/ui/static/lib/jstree/themes/ansible/style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/ansible/style.css rename to awx/ui/static/lib/jstree/themes/ansible/style.css diff --git a/ansibleworks/ui/static/lib/jstree/themes/ansible/throbber.gif b/awx/ui/static/lib/jstree/themes/ansible/throbber.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/ansible/throbber.gif rename to awx/ui/static/lib/jstree/themes/ansible/throbber.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/apple/bg.jpg b/awx/ui/static/lib/jstree/themes/apple/bg.jpg similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/apple/bg.jpg rename to awx/ui/static/lib/jstree/themes/apple/bg.jpg diff --git a/ansibleworks/ui/static/lib/jstree/themes/apple/d.png b/awx/ui/static/lib/jstree/themes/apple/d.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/apple/d.png rename to awx/ui/static/lib/jstree/themes/apple/d.png diff --git a/ansibleworks/ui/static/lib/jstree/themes/apple/dot_for_ie.gif b/awx/ui/static/lib/jstree/themes/apple/dot_for_ie.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/apple/dot_for_ie.gif rename to awx/ui/static/lib/jstree/themes/apple/dot_for_ie.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/apple/style.css b/awx/ui/static/lib/jstree/themes/apple/style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/apple/style.css rename to awx/ui/static/lib/jstree/themes/apple/style.css diff --git a/ansibleworks/ui/static/lib/jstree/themes/apple/throbber.gif b/awx/ui/static/lib/jstree/themes/apple/throbber.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/apple/throbber.gif rename to awx/ui/static/lib/jstree/themes/apple/throbber.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/classic/d.gif b/awx/ui/static/lib/jstree/themes/classic/d.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/classic/d.gif rename to awx/ui/static/lib/jstree/themes/classic/d.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/classic/d.png b/awx/ui/static/lib/jstree/themes/classic/d.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/classic/d.png rename to awx/ui/static/lib/jstree/themes/classic/d.png diff --git a/ansibleworks/ui/static/lib/jstree/themes/classic/dot_for_ie.gif b/awx/ui/static/lib/jstree/themes/classic/dot_for_ie.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/classic/dot_for_ie.gif rename to awx/ui/static/lib/jstree/themes/classic/dot_for_ie.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/classic/style.css b/awx/ui/static/lib/jstree/themes/classic/style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/classic/style.css rename to awx/ui/static/lib/jstree/themes/classic/style.css diff --git a/ansibleworks/ui/static/lib/jstree/themes/classic/throbber.gif b/awx/ui/static/lib/jstree/themes/classic/throbber.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/classic/throbber.gif rename to awx/ui/static/lib/jstree/themes/classic/throbber.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/default-rtl/d.gif b/awx/ui/static/lib/jstree/themes/default-rtl/d.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default-rtl/d.gif rename to awx/ui/static/lib/jstree/themes/default-rtl/d.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/default-rtl/d.png b/awx/ui/static/lib/jstree/themes/default-rtl/d.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default-rtl/d.png rename to awx/ui/static/lib/jstree/themes/default-rtl/d.png diff --git a/ansibleworks/ui/static/lib/jstree/themes/default-rtl/dots.gif b/awx/ui/static/lib/jstree/themes/default-rtl/dots.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default-rtl/dots.gif rename to awx/ui/static/lib/jstree/themes/default-rtl/dots.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/default-rtl/style.css b/awx/ui/static/lib/jstree/themes/default-rtl/style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default-rtl/style.css rename to awx/ui/static/lib/jstree/themes/default-rtl/style.css diff --git a/ansibleworks/ui/static/lib/jstree/themes/default-rtl/throbber.gif b/awx/ui/static/lib/jstree/themes/default-rtl/throbber.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default-rtl/throbber.gif rename to awx/ui/static/lib/jstree/themes/default-rtl/throbber.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/default/d.gif b/awx/ui/static/lib/jstree/themes/default/d.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default/d.gif rename to awx/ui/static/lib/jstree/themes/default/d.gif diff --git a/ansibleworks/ui/static/lib/jstree/themes/default/d.png b/awx/ui/static/lib/jstree/themes/default/d.png similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default/d.png rename to awx/ui/static/lib/jstree/themes/default/d.png diff --git a/ansibleworks/ui/static/lib/jstree/themes/default/style.css b/awx/ui/static/lib/jstree/themes/default/style.css similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default/style.css rename to awx/ui/static/lib/jstree/themes/default/style.css diff --git a/ansibleworks/ui/static/lib/jstree/themes/default/throbber.gif b/awx/ui/static/lib/jstree/themes/default/throbber.gif similarity index 100% rename from ansibleworks/ui/static/lib/jstree/themes/default/throbber.gif rename to awx/ui/static/lib/jstree/themes/default/throbber.gif diff --git a/ansibleworks/ui/static/lib/md5/jquery.md5.js b/awx/ui/static/lib/md5/jquery.md5.js similarity index 100% rename from ansibleworks/ui/static/lib/md5/jquery.md5.js rename to awx/ui/static/lib/md5/jquery.md5.js diff --git a/ansibleworks/ui/static/lib/twitter/bootstrap.js b/awx/ui/static/lib/twitter/bootstrap.js similarity index 100% rename from ansibleworks/ui/static/lib/twitter/bootstrap.js rename to awx/ui/static/lib/twitter/bootstrap.js diff --git a/ansibleworks/ui/static/lib/twitter/bootstrap.min.js b/awx/ui/static/lib/twitter/bootstrap.min.js similarity index 100% rename from ansibleworks/ui/static/lib/twitter/bootstrap.min.js rename to awx/ui/static/lib/twitter/bootstrap.min.js diff --git a/ansibleworks/ui/static/partials/credentials.html b/awx/ui/static/partials/credentials.html similarity index 100% rename from ansibleworks/ui/static/partials/credentials.html rename to awx/ui/static/partials/credentials.html diff --git a/ansibleworks/ui/static/partials/dynamic-view.html b/awx/ui/static/partials/dynamic-view.html similarity index 100% rename from ansibleworks/ui/static/partials/dynamic-view.html rename to awx/ui/static/partials/dynamic-view.html diff --git a/ansibleworks/ui/static/partials/inventories.html b/awx/ui/static/partials/inventories.html similarity index 100% rename from ansibleworks/ui/static/partials/inventories.html rename to awx/ui/static/partials/inventories.html diff --git a/ansibleworks/ui/static/partials/job_templates.html b/awx/ui/static/partials/job_templates.html similarity index 100% rename from ansibleworks/ui/static/partials/job_templates.html rename to awx/ui/static/partials/job_templates.html diff --git a/ansibleworks/ui/static/partials/jobs.html b/awx/ui/static/partials/jobs.html similarity index 100% rename from ansibleworks/ui/static/partials/jobs.html rename to awx/ui/static/partials/jobs.html diff --git a/ansibleworks/ui/static/partials/login-dialog.html b/awx/ui/static/partials/login-dialog.html similarity index 100% rename from ansibleworks/ui/static/partials/login-dialog.html rename to awx/ui/static/partials/login-dialog.html diff --git a/ansibleworks/ui/static/partials/organizations.html b/awx/ui/static/partials/organizations.html similarity index 100% rename from ansibleworks/ui/static/partials/organizations.html rename to awx/ui/static/partials/organizations.html diff --git a/ansibleworks/ui/static/partials/projects.html b/awx/ui/static/partials/projects.html similarity index 100% rename from ansibleworks/ui/static/partials/projects.html rename to awx/ui/static/partials/projects.html diff --git a/ansibleworks/ui/static/partials/teams.html b/awx/ui/static/partials/teams.html similarity index 100% rename from ansibleworks/ui/static/partials/teams.html rename to awx/ui/static/partials/teams.html diff --git a/ansibleworks/ui/static/partials/users.html b/awx/ui/static/partials/users.html similarity index 100% rename from ansibleworks/ui/static/partials/users.html rename to awx/ui/static/partials/users.html diff --git a/ansibleworks/ui/templates/ui/index.html b/awx/ui/templates/ui/index.html similarity index 98% rename from ansibleworks/ui/templates/ui/index.html rename to awx/ui/templates/ui/index.html index 3011c93b85..16a1df567b 100644 --- a/ansibleworks/ui/templates/ui/index.html +++ b/awx/ui/templates/ui/index.html @@ -15,7 +15,7 @@ {% if settings.USE_MINIFIED_JS %} {# FIXME: Change to use minified JS once we are building it. #} - + {% else %} diff --git a/ansibleworks/ui/urls.py b/awx/ui/urls.py similarity index 77% rename from ansibleworks/ui/urls.py rename to awx/ui/urls.py index cc2795fc2c..6cc19e61b5 100644 --- a/ansibleworks/ui/urls.py +++ b/awx/ui/urls.py @@ -4,6 +4,6 @@ from django.conf import settings from django.conf.urls import * -urlpatterns = patterns('ansibleworks.ui.views', +urlpatterns = patterns('awx.ui.views', url(r'^$', 'index', name='index'), ) diff --git a/ansibleworks/ui/views.py b/awx/ui/views.py similarity index 100% rename from ansibleworks/ui/views.py rename to awx/ui/views.py diff --git a/ansibleworks/urls.py b/awx/urls.py similarity index 59% rename from ansibleworks/urls.py rename to awx/urls.py index c715dc2361..643ff3ebdd 100644 --- a/ansibleworks/urls.py +++ b/awx/urls.py @@ -4,13 +4,13 @@ from django.conf import settings from django.conf.urls import * -handler403 = 'ansibleworks.main.views.handle_403' -handler404 = 'ansibleworks.main.views.handle_404' -handler500 = 'ansibleworks.main.views.handle_500' +handler403 = 'awx.main.views.handle_403' +handler404 = 'awx.main.views.handle_404' +handler500 = 'awx.main.views.handle_500' urlpatterns = patterns('', - url(r'', include('ansibleworks.ui.urls', namespace='ui', app_name='ui')), - url(r'^api/', include('ansibleworks.main.urls', namespace='main', app_name='main')), + url(r'', include('awx.ui.urls', namespace='ui', app_name='ui')), + url(r'^api/', include('awx.main.urls', namespace='main', app_name='main')), ) if 'django.contrib.admin' in settings.INSTALLED_APPS: @@ -21,7 +21,7 @@ if 'django.contrib.admin' in settings.INSTALLED_APPS: ) if settings.DEBUG: - urlpatterns += patterns('ansibleworks.main.views', + urlpatterns += patterns('awx.main.views', url(r'^(?:admin/)?403.html$', 'handle_403'), url(r'^(?:admin/)?404.html$', 'handle_404'), url(r'^(?:admin/)?500.html$', 'handle_500'), diff --git a/ansibleworks/wsgi.py b/awx/wsgi.py similarity index 79% rename from ansibleworks/wsgi.py rename to awx/wsgi.py index 40ba3e48c2..0cac644448 100644 --- a/ansibleworks/wsgi.py +++ b/awx/wsgi.py @@ -2,7 +2,7 @@ # All Rights Reserved. """ -WSGI config for Ansible Commander project. +WSGI config for AWX project. It exposes the WSGI callable as a module-level variable named ``application``. @@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', - 'ansibleworks.settings.production') + 'awx.settings.production') from django.core.wsgi import get_wsgi_application application = get_wsgi_application() diff --git a/config/ansibleworks.conf b/config/ansibleworks.conf deleted file mode 100644 index ecdcd5f740..0000000000 --- a/config/ansibleworks.conf +++ /dev/null @@ -1,32 +0,0 @@ -NameVirtualHost *:80 -WSGISocketPrefix run/wsgi - - - ServerName localhost - ServerAlias localhost - ServerAlias 127.0.0.1 - DocumentRoot /var/lib/ansibleworks/public - - WSGIScriptAlias / /var/lib/ansibleworks/wsgi.py - WSGIPassAuthorization On - - # FIXME: May want to tune these parameters after performance testing. - WSGIDaemonProcess ansibleworks user=ansibleworks group=ansibleworks processes=2 threads=20 maximum-requests=1000 display-name="%{GROUP}" - WSGIProcessGroup ansibleworks - - Alias /favicon.ico /var/lib/ansibleworks/public/static/favicon.ico - Alias /static/ /var/lib/ansibleworks/public/static/ - - - - Order deny,allow - Allow from all - - - - - Order deny,allow - Allow from all - - - diff --git a/config/awx.conf b/config/awx.conf new file mode 100644 index 0000000000..5905373328 --- /dev/null +++ b/config/awx.conf @@ -0,0 +1,32 @@ +NameVirtualHost *:80 +WSGISocketPrefix run/wsgi + + + ServerName localhost + ServerAlias localhost + ServerAlias 127.0.0.1 + DocumentRoot /var/lib/awx/public + + WSGIScriptAlias / /var/lib/awx/wsgi.py + WSGIPassAuthorization On + + # FIXME: May want to tune these parameters after performance testing. + WSGIDaemonProcess awx user=awx group=awx processes=2 threads=20 maximum-requests=1000 display-name="%{GROUP}" + WSGIProcessGroup awx + + Alias /favicon.ico /var/lib/awx/public/static/favicon.ico + Alias /static/ /var/lib/awx/public/static/ + + + + Order deny,allow + Allow from all + + + + + Order deny,allow + Allow from all + + + diff --git a/config/settings.py b/config/settings.py index dde18c3e8c..ab821fbcd4 100644 --- a/config/settings.py +++ b/config/settings.py @@ -5,19 +5,19 @@ ADMINS = ( DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': 'ansibleworks', - 'USER': 'ansibleworks', + 'NAME': 'awx', + 'USER': 'awx', 'PASSWORD': 'AWsecret', 'HOST': '', 'PORT': '', } } -STATIC_ROOT = '/var/lib/ansibleworks/public/static' +STATIC_ROOT = '/var/lib/awx/public/static' -PROJECTS_ROOT = '/var/lib/ansibleworks/projects' +PROJECTS_ROOT = '/var/lib/awx/projects' -SECRET_KEY = file('/etc/ansibleworks/SECRET_KEY', 'rb').read().strip() +SECRET_KEY = file('/etc/awx/SECRET_KEY', 'rb').read().strip() ALLOWED_HOSTS = ['*'] @@ -32,7 +32,7 @@ LOGGING['handlers']['syslog'] = { SERVER_EMAIL = 'root@localhost' DEFAULT_FROM_EMAIL = 'webmaster@localhost' -EMAIL_SUBJECT_PREFIX = '[AnsibleWorks] ' +EMAIL_SUBJECT_PREFIX = '[AWX] ' EMAIL_HOST = 'localhost' EMAIL_PORT = 25 diff --git a/SETUP.md b/docs/SETUP.md similarity index 100% rename from SETUP.md rename to docs/SETUP.md diff --git a/TODO.md b/docs/TODO.md similarity index 100% rename from TODO.md rename to docs/TODO.md diff --git a/planning/api2.md b/docs/api2.md similarity index 100% rename from planning/api2.md rename to docs/api2.md diff --git a/planning/use_cases.md b/docs/use_cases.md similarity index 100% rename from planning/use_cases.md rename to docs/use_cases.md diff --git a/manage.py b/manage.py index cbaec7c658..bc6621c94c 100755 --- a/manage.py +++ b/manage.py @@ -3,12 +3,6 @@ # Copyright (c) 2013 AnsibleWorks, Inc. # All Rights Reserved. -import os - if __name__ == '__main__': - # Since this manage.py will only be used when running from a source - # checkout, default to using the development settings. - os.environ.setdefault('DJANGO_SETTINGS_MODULE', - 'ansibleworks.settings.development') - from ansibleworks import manage + from awx import manage manage() diff --git a/requirements/dev.txt b/requirements/dev.txt index 1dde9976ed..a8d5cabc72 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,5 +1,5 @@ -# PIP requirements for AnsibleWorks development/build environment (downloaded -# from PyPI). Install using "pip -r dev.txt". +# PIP requirements for AWX development/build environment (downloaded from +# PyPI). Install using "pip -r dev.txt". -U distribute diff --git a/requirements/dev_local.txt b/requirements/dev_local.txt index fc81d67488..3d95706073 100644 --- a/requirements/dev_local.txt +++ b/requirements/dev_local.txt @@ -1,5 +1,5 @@ -# PIP requirements for AnsibleWorks development/build environment (using only -# local packages). Install using "pip --no-index -r dev_local.txt". +# PIP requirements for AWX development/build environment (using only local +packages). Install using "pip --no-index -r dev_local.txt". distribute-0.6.45.tar.gz diff --git a/requirements/prod.txt b/requirements/prod.txt index 379d79b9ac..2c2a346f78 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -1,5 +1,5 @@ -# PIP requirements for AnsibleWorks production environment (downloaded from -# PyPI). Install using "pip -r prod.txt". +# PIP requirements for AWX production environment (downloaded from PyPI). +# Install using "pip -r prod.txt". Django>=1.5 django-celery diff --git a/requirements/prod_local.txt b/requirements/prod_local.txt index 03f3c0373a..807b53a290 100644 --- a/requirements/prod_local.txt +++ b/requirements/prod_local.txt @@ -1,5 +1,5 @@ -# PIP requirements for AnsibleWorks production environment (using only local -# packages). Install using "pip --no-index -r prod_local.txt". +# PIP requirements for AWX production environment (using only local packages). +# Install using "pip --no-index -r prod_local.txt". Django-1.5.1.tar.gz diff --git a/requirements/test.txt b/requirements/test.txt index b1fd4e7555..9afc4355e3 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ -# PIP requirements for AnsibleWorks testing using Tox (downloaded from -# PyPI). Install using "pip -r test.txt". +# PIP requirements for AWX testing using Tox (downloaded from PyPI). Install +# using "pip -r test.txt". ansible==1.2 django-celery diff --git a/setup.py b/setup.py index 39267203d2..31d93305d9 100755 --- a/setup.py +++ b/setup.py @@ -6,13 +6,13 @@ import os, datetime, glob, sys from setuptools import setup, find_packages -from ansibleworks import __version__ +from awx import __version__ build_timestamp = datetime.datetime.now().strftime('%Y%m%d%H%M') # Paths we'll use later -etcpath = "/etc/ansibleworks" -homedir = "/var/lib/ansibleworks" +etcpath = "/etc/awx" +homedir = "/var/lib/awx" if os.path.exists("/etc/debian_version"): webconfig = "/etc/apache2/conf.d" else: @@ -58,16 +58,17 @@ def proc_data_files(data_files): ##################################################################### setup( - name='ansibleworks', + name='awx', version=__version__.split("-")[0], # FIXME: Should keep full version here? author='AnsibleWorks, Inc.', author_email='support@ansibleworks.com', - description='AnsibleWorks API, UI and Task Engine', - long_description='AnsibleWorks API, UI and Task Engine', + description='AWX: API, UI and Task Engine for Ansible', + long_description='AWX provides a web-based user interface, REST API and ' + 'task engine built on top of Ansible', license='Proprietary', keywords='ansible', url='http://github.com/ansible/ansible-commander', - packages=['ansibleworks'], + packages=['awx'], include_package_data=True, zip_safe=False, install_requires=[ @@ -102,15 +103,15 @@ setup( ], entry_points = { 'console_scripts': [ - 'ansibleworks-manage = ansibleworks:manage', + 'awx-manage = awx:manage', ], }, data_files = proc_data_files([ - ("%s" % homedir, ["ansibleworks/wsgi.py", - "ansibleworks/static/favicon.ico", + ("%s" % homedir, ["awx/wsgi.py", + "awx/static/favicon.ico", ]), ("%s" % etcpath, ["config/settings.py"]), - ("%s" % webconfig, ["config/ansibleworks.conf"]), + ("%s" % webconfig, ["config/awx.conf"]), ] ), options={ @@ -123,4 +124,3 @@ setup( }, }, ) - diff --git a/tox.ini b/tox.ini index d1a5ac7239..833b41a832 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ commands = python manage.py test main deps = -r{toxinidir}/requirements/test.txt setenv = - DJANGO_SETTINGS_MODULE = ansibleworks.settings.development + DJANGO_SETTINGS_MODULE = awx.settings.development # For OS X to be able to install pycrypto. CFLAGS=-I/opt/local/include downloadcache = {toxworkdir}/cache