1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
Commit Graph

352 Commits

Author SHA1 Message Date
Ryan Petrello
b01b229fea
add an example for custom virtualenv setup in containers 2018-01-10 13:48:55 -05:00
Chris Meyers
de02138dfd spelling is hard 2018-01-10 09:26:11 -05:00
Ryan Petrello
1e8c89f536
implement support for per-playbook/project/org virtualenvs
see: https://github.com/ansible/awx/issues/34
2018-01-09 22:47:01 -05:00
Chris Meyers
664bdec57f add documentation 2018-01-05 14:43:33 -05:00
Ryan Petrello
1494c8395b
update websockets docs to reflect new event groups 2018-01-04 11:40:15 -05:00
Aaron Tan
a2fd78add4 Implement item copy feature
See acceptance doc for implement details.

Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2018-01-02 10:20:44 -05:00
Matthew Jones
9dbcc5934e
Merge remote-tracking branch 'tower/release_3.2.2' into devel 2017-12-13 12:25:47 -05:00
Ryan Petrello
8c90d36290
add some more tests and acceptance docs to wrap up multivault support
see: https://github.com/ansible/awx/issues/352
2017-12-11 16:56:02 -05:00
AlanCoding
72a8854c27
Make ask_mapping a simple class property
from PR feedback of saved launchtime configurations
2017-12-08 13:45:23 -05:00
AlanCoding
34a8e0a9b6
Feature: saved launchtime configurations
Consolidate prompts accept/reject logic in unified models
Break out accept/reject logic for variables
Surface new promptable fields on WFJT nodes, schedules

Make schedules and workflows accurately reject variables
  that are not allowed by the prompting
  rules or the survey rules on the template

Validate against unallowed extra_data in system job schedules
Prevent schedule or WFJT node POST/PATCH with unprompted data
Move system job days validation to new mechanism
Add new psuedo-field for WFJT node credential
Add validation for node related credentials
Add related config model to unified job
Use JobLaunchConfig model for launch RBAC check

Support credential overwrite behavior with multi-creds
  change modern manual launch to use merge behavior
Refactor JobLaunchSerializer, self.instance=None
Modularize job launch view to create "modern" data
Auto-create config object with every job
Add create schedule endpoint for jobs
2017-12-08 13:38:54 -05:00
Chris Meyers
c4e6fc23fc add docs for job events
* Focus on the ordering of Job Event creation. Important to know when
thinking through different Ansible execution strategies.
2017-11-16 12:48:48 -05:00
Ryan Petrello
28ce9b700e
replace all Job/JT relations with a single M2M credentials relation
Includes backwards compatibility for now-deprecated .credential,
.vault_credential, and .extra_credentials

This is a building block for multi-vault implementation and Alan's saved
launch configurations (both coming soon)

see: https://github.com/ansible/awx/issues/352
see: https://github.com/ansible/awx/issues/169
2017-11-14 12:49:12 -05:00
AlanCoding
41c84b4652
update retry-on-failed acceptance docs
Relaunching by other status values is tabled for later.
2017-11-01 10:24:46 -04:00
AlanCoding
0ae9283fba
Feature: retry on subset of jobs hosts 2017-11-01 10:22:52 -04:00
Jim Ladd
655759a5fc
Update custom credential document for mult-file injection 2017-10-31 16:34:03 -04:00
Aaron Tan
5287e5c111
Implement workflow job failure
Relates #264.

This PR proposed and implemented a way of defining workflow failure
state:

A workflow job fails if one of the conditions below satisfies.
* At least one node runs into states `canceled` or `error`.
* At least one leaf node runs into states `failed`, but no child node is
  spawned to run (no error handler).

Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2017-10-12 11:08:33 -04:00
Aaron Tan
82160e2072 Add LDAP deploy instructions
Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2017-10-10 14:54:53 -04:00
Nicholas O. Wilburn
cd3ba08c7d Update mattermost notification docs with examples 2017-09-14 18:25:01 -07:00
Nicholas O. Wilburn
29451cf88c Add mattermost to notification_system docs 2017-09-14 18:24:40 -07:00
gconsidine
fba8a48d91
Update dependencies, template file, and docs
* Use git+https prefix in git-based npm dependencies
* Use ejs template for index to fix extraneous slash in path
* Remove outdated documentation
* Remove unused service
* Regenerate shrinkwrap
2017-09-08 15:17:01 -04:00
Matthew Jones
dd44f7a640 Merge pull request #236 from matburt/contributing_and_other_docs
CONTRIBUTING.md and other docs
2017-08-11 10:30:55 -04:00
AlanCoding
d41d9a957e stubs and docs for management cmd renames 2017-08-07 15:27:23 -04:00
Aaron Tan
21d82e6687 CHANGELOG updates 2017-08-07 13:44:23 -04:00
Matthew Jones
c58a3c36ce Purge old build system/releng docs 2017-08-07 10:33:52 -04:00
Aaron Tan
c1e16c2f46 Merge pull request #73 from jangsutsr/6986_make_up_default_values_for_tower_config
Make up default values for tower configurations
2017-08-01 20:33:41 -04:00
AlanCoding
9572b429ad remove support for celery_active_tasks 2017-07-31 15:02:22 -04:00
Aaron Tan
e8bd477f1e Make up default values for tower configurations 2017-07-27 15:02:25 -04:00
adamscmRH
a3d1877e6e includes inventory refresh all in docs 2017-07-21 11:57:45 -04:00
Chris Meyers
ff14c5bafb more explicit docs
Explicitly detail the behavior of `use_fact_cache=False`
2017-07-14 13:58:08 -04:00
Wayne Witzel III
fe03181d4e update acceptance for /host/:id/smart_inventories 2017-07-14 10:43:25 -04:00
Wayne Witzel III
96cc714489 Update smart inventory acceptance 2017-07-14 10:41:06 -04:00
Aaron Tan
c6ed70dd9d Merge pull request #6928 from jangsutsr/6904_strengthen_attribute_check_for_tower_conf_validators
Strengthen attribute check for Tower configuration validations
2017-07-12 13:30:44 -04:00
Christian Adams
c821df7fd5 Amended diff mode addition 2017-07-10 10:28:47 -04:00
Christian Adams
13d46899d1 Add --diff mode 2017-07-10 10:25:54 -04:00
Aaron Tan
0138510936 Strengthen attribute check for Tower configuration validations 2017-07-07 11:44:56 -04:00
Ryan Petrello
12d41e2deb Support AWX_TASK_ENV injection in task and notification invocations.
This change _only_ injects `AWS_TASK_ENV` into `os.environ`; it's up to
underlying libraries to be good citizens and actually respect things
like `HTTPS_PROXY`.

see: #3508
2017-07-06 13:51:37 -04:00
Chris Meyers
3d4f8b0074 support clear_facts 2017-07-05 10:33:36 -04:00
Chris Meyers
f1b1c4ee97 avoid instance record deadlock by using pglock 2017-07-05 09:38:19 -04:00
Aaron Tan
a184058aa2 Merge pull request #6642 from jangsutsr/6593_enforce_mutual_exclusiveness_of_tower_user_origins
Expand scope of enterprise user types
2017-06-29 12:15:07 -04:00
Alan Rominger
fe959769eb Merge pull request #6738 from AlanCoding/do_nots
Document name schemes you should never use
2017-06-29 10:29:37 -04:00
Ryan Petrello
3000f52a92 install a randomized RSA key for controller -> isolated rampart auth
see: #6507
2017-06-27 10:53:44 -04:00
AlanCoding
e4fa060cf2 document namings you should never use 2017-06-26 13:54:36 -04:00
Aaron Tan
2c98294035 Merge pull request #6575 from jangsutsr/6220_add_docs_for_tower_configuration
Add docs to Tower configuration
2017-06-26 09:46:09 -04:00
AlanCoding
9e07b3f777 Tag jobs started via special cases with node & group 2017-06-22 16:24:12 -04:00
Ryan Petrello
bbcebf295f Merge pull request #6688 from ryanpetrello/isolated-docs
more isolated acceptance doc updates
2017-06-22 12:55:40 -04:00
Ryan Petrello
5e908bfc50 more isolated acceptance doc updates 2017-06-22 12:32:20 -04:00
Chris Meyers
fee16fe391 Merge pull request #6588 from chrismeyersfsu/feature-fact_cache
initial tower fact cache implementation
2017-06-22 09:58:28 -04:00
Aaron Tan
6db945247d Merge pull request #6576 from jangsutsr/6568_update_named_url_delimiter
Update named URL delimiter
2017-06-21 15:56:02 -04:00
Chris Meyers
45421c84a6 fact cache docs 2017-06-21 13:45:27 -04:00
Chris Meyers
965159a1fb rename store_facts to use_fact_cache 2017-06-21 13:45:27 -04:00
Aaron Tan
70cccb0e57 Expand scope of enterprise user types. 2017-06-20 12:17:13 -04:00
AlanCoding
dd1a261bc3 setup playbook and heartbeat for isolated deployments
* Allow isolated_group_ use in setup playbook
* Tweaks to host/queue registration commands complementing setup
* Create isolated heartbeat task and check capacity
* Add content about isolated instances to acceptance docs
2017-06-19 12:13:36 -04:00
Wayne Witzel III
e1e416bc6d Update CHANGELOG, Fernet256 2017-06-16 16:38:14 -04:00
Aaron Tan
b2639cf1ee Update named URL delimiter. 2017-06-16 09:40:27 -04:00
Aaron Tan
7039e2e3de Merge pull request #6420 from jangsutsr/license_updates
License updates
2017-06-15 13:27:19 -04:00
Aaron Tan
2ed3be0aab Add the ability to programmatically generate named URLs on client-side. 2017-06-14 10:37:40 -04:00
Ryan Petrello
12982d6ef6 Merge pull request #6541 from wwitzel3/issue-826
Re-Encrypt all of our existing encrypted fields.
2017-06-13 09:42:56 -04:00
Aaron Tan
ffda2057d9 Add docs to Tower configuration. 2017-06-12 16:23:13 -04:00
Wayne Witzel III
8989c95b93 Add new encryption to CHANGELOG 2017-06-12 14:23:50 -04:00
Ryan Petrello
7656ea578c Merge pull request #6566 from ryanpetrello/fix-6371
key launch prompting of all credentials off of `ask_credential_on_launch`
2017-06-12 13:41:20 -04:00
Ryan Petrello
d4afa41acb key prompting of all credentials off of ask_credential_on_launch
see: #6371
2017-06-12 12:26:58 -04:00
Chris Meyers
c0d70ca1ad Merge pull request #6565 from chrismeyersfsu/docs-insights
insights integration docs
2017-06-12 12:04:09 -04:00
Chris Meyers
e437ddb3a5 insights integration docs 2017-06-12 12:01:30 -04:00
Chris Meyers
c8ae48f1ac add host filter docs 2017-06-12 10:12:40 -04:00
Aaron Tan
88baf1d579 License updates. 2017-06-01 16:33:48 -04:00
Ryan Petrello
af457ad8eb clarify valid CredentialType field types
almost all of our current credential values are strings, but under the
v1 Credential model, `authorize` is boolean

additionally, if a field is specified with no type, fall back to
`string` as a default (this is almost always what people creating custom
types will want)

see: #6406
2017-06-01 13:23:51 -04:00
Aaron Tan
a993025e0d Merge pull request #6053 from jangsutsr/named_url
Named URL
2017-05-31 17:02:42 -04:00
Aaron Tan
f25391fe86 Implement named URL feature. 2017-05-31 12:09:54 -04:00
Aaron Tan
da24ef0dba Update remove_tower_source to reflect sso model changes. 2017-05-30 15:14:11 -04:00
Wayne Witzel III
d846e352ab minor doc typo 2017-05-26 10:19:47 -04:00
Wayne Witzel III
e28cd97ffb Add smart_inventories endpoint to Host 2017-05-26 10:16:12 -04:00
Aaron Tan
a15bc6d0f7 Merge pull request #6295 from jangsutsr/6243_update_user_profile_to_record_source_backend
Introduce sso UserEnterpriseAuth model
2017-05-24 09:42:41 -04:00
Wayne Witzel III
c5364f49bd add some info about field deprecation for InventorySource 2017-05-23 13:25:08 -04:00
Wayne Witzel III
dc415f17b5 adding more details about host_filter 2017-05-23 13:16:03 -04:00
Wayne Witzel III
66af36e5c9 inventory refresh overview updates 2017-05-23 12:58:03 -04:00
Wayne Witzel III
d1097678f9 Added initial Inventory Refresh doc 2017-05-23 12:26:08 -04:00
Aaron Tan
d314f83416 Introduce sso UserEnterpriseAuth model. 2017-05-22 13:30:00 -04:00
AlanCoding
b41f4de4e5 Add docs from Instance Groups acceptance meeting 2017-05-15 10:16:47 -04:00
Ryan Petrello
7c3b189eff Merge pull request #6252 from ryanpetrello/ssh_credential_refactor
refactor and fix ssh_private_key and ssh_key_unlock validation
2017-05-12 16:48:51 -04:00
Matthew Jones
1a4a6273a4 Merge branch 'rampart_groups_setup_playbook' into devel
* rampart_groups_setup_playbook:
  Updating changelog for Instance Groups
  Fix an incorrect reference on instance group jobs list
  Purge remaining references to rampart groups
  Simplify can_access for instance groups on job templates
  Adding Instance Group permissions and tests
  Increase test coverage for task scheduler inventory updates
  Exit logic fixes for instance group tools
  View Fixes for instance groups
  new view to allow associations but no creations
  Updating acceptance documentation and system docs
  Updating unit tests for task manager refactoring
  Update views and serializers to support instance group (ramparts)
  Implementing models for instance groups, updating task manager
  Updating the setup playbook to support instance group installation
  Add nginx to server start and switch back to first tmux win
  Fix an issue where the local queue wouldn't use the rabbitmq name
2017-05-12 13:40:30 -04:00
Matthew Jones
e7ba2a1078 Updating changelog for Instance Groups 2017-05-12 13:24:14 -04:00
Ryan Petrello
0ac4f71e5b refactor and fix ssh_private_key and ssh_key_unlock validation
`clean_ssh_key_data` and `clean_ssh_key_unlock` no longer work because
they're not actual fields on `model.Credential` anymore.  This change
refactors/moves their validation to a place that works (and makes more
sense).
2017-05-12 09:42:29 -04:00
Matthew Jones
51bb85c3e2 Purge remaining references to rampart groups
* Acceptance Docs references
* Installer references
2017-05-11 22:25:57 -04:00
Alan Rominger
7a1c6c6794 Merge pull request #6241 from AlanCoding/scm_inv_feedback
SCM inventory acceptance and bug updates
2017-05-11 16:30:26 -04:00
AlanCoding
97ca6bc897 SCM inventory acceptance and bug updates
* fixed a problem where the SCM last revision was not getting reset
* change the 400 editing error to just reset the last revision
* handle `source_vars` in the same way as custom scripts
* block unallowed `source_vars` in the validator
* hide POST in OPTIONS for inventory source sublist if not allowed
2017-05-11 12:04:48 -04:00
Ryan Petrello
44c1935590 Merge pull request #6232 from ryanpetrello/jt_promptable_extra_creds
add prompting for JT.extra_credentials
2017-05-11 07:51:36 -04:00
Ryan Petrello
53c3ece32b add prompting for JT.extra_credentials
see: #2913
2017-05-11 07:29:53 -04:00
Matthew Jones
704da9c7f2 Updating acceptance documentation and system docs 2017-05-10 16:15:49 -04:00
Aaron Tan
f5e58922ab Create tacacs and radius users with password disabled. 2017-05-09 16:36:50 -04:00
Alan Rominger
f954507a8c Merge pull request #6186 from AlanCoding/scm_inv_stability
SCM Inventory task system and variables stability edits
2017-05-08 14:31:58 -04:00
AlanCoding
890b5bba58 SCM Inventory task system and variables stability edits
* Ensure "fresh bits" in dependent jobs
  - run IUs in same context and dependent PU
  - review docs for update-on-launch expectations
* Avoid customer variable precedence upgrade issues
  - only allow SCM types to have overwrite_vars=true
  - do not run other cloud sources through the backported script
* Make extra sure to echo stdout and stderr in event of error
2017-05-08 09:43:11 -04:00
Ryan Petrello
385080ebf2 Merge pull request #6168 from ryanpetrello/multicredential_job
Replace Job/JT cloud/network credentials with a single M2M relation.
2017-05-04 12:39:10 -04:00
AlanCoding
d826c45ac6 SCM Inventory field name changes
on InventorySource model
* scm_project -> source_project
on InventorySourceSerializer
* scm_inventories -> scm_inventory_sources

on InventoryUpdate model
* scm_project_update -> source_project_update
2017-05-04 09:15:29 -04:00
Ryan Petrello
4a438e044e acceptance docs for [AUDIC] Arbitrary User-Defined Inventory & Credential 2017-05-03 14:09:46 -04:00
Aaron Tan
057b24ccd0 Allow concurrent workflow job runs. 2017-05-02 16:28:24 -04:00
AlanCoding
2f62182940 refactor inventory Loaders for ansible-inventory
* remove support for loading from executable and static files
* instead use ansible-inventory with fallback to backport
* provide private file dir in task manager for cred injection
* durable management of tmp dirs for user scripts

* new 'scm' source choice for scm-type
* update SCM inventory docs to new reality
2017-05-01 14:37:43 -04:00
Aaron Tan
8d2ee8c30f Refactor log handler and support TCP/UDP communications 2017-04-25 11:07:57 -04:00
AlanCoding
6d92c56da5 SCM Inventory model, view, and task system changes
Inventory source file-type combined with a linked project
will allow the inventory source to be updated when the
project is updated. The inventory update runs in the
post-run hook of the project update.
2017-04-17 15:01:19 -04:00
Alan Rominger
4c5222b16b Merge pull request #6007 from AlanCoding/inv_src_changelog
Add removal of inventory_source link to CHANGELOG
2017-04-13 10:58:11 -04:00
Aaron Tan
07198a5ba6 Acceptance Docs. 2017-04-12 16:19:42 -04:00
AlanCoding
d77c8ec88e add removal of inventory_source link to CHANGELOG 2017-04-12 11:43:50 -04:00
Bill Nottingham
22c4cd444a add changelog 2017-03-22 16:57:59 -04:00
Ryan Petrello
9bc162cada start a CHANGELOG 2017-03-09 16:29:40 -05:00
Wayne Witzel III
9eed328107 update asgi_amqp version 2017-02-28 14:03:52 -05:00
Bill Nottingham
c86a3049f7 Ensure bundled source matches the version in requirements.txt 2017-02-16 12:44:47 -05:00
AlanCoding
279546e110 make obvious updates to the logging related docs 2017-02-09 12:37:57 -05:00
Matthew Jones
a98db65d4a Documenting process isolation for acceptance 2017-02-01 13:44:05 -05:00
Jake McDermott
374453391d update tower build url 2017-01-31 10:43:20 -05:00
Chris Meyers
627203a5ee spelling things 2017-01-19 12:13:48 -05:00
Chris Meyers
e40d637e56 fix 2017-01-19 12:05:46 -05:00
Chris Meyers
fcdb0ed2f2 added ansible version note for set_stats 2017-01-19 12:05:10 -05:00
Chris Meyers
00f94098f5 revisions 2017-01-19 11:58:21 -05:00
Chris Meyers
378a620733 add acceptance docs for set_stats 2017-01-19 11:10:16 -05:00
AlanCoding
ad3ca9acf8 Incorporate more feedback about RBAC logic regarding node deletion 2017-01-17 09:40:31 -05:00
AlanCoding
d88fa05009 workflow RBAC docs feedback 2017-01-14 11:09:52 -05:00
Alan Rominger
912033f223 workflow doc RBAC rules audit 2017-01-13 17:11:08 -05:00
Bill Nottingham
39555fe04a Merge pull request #4642 from wenottingham/windows-fu
Vendor pywinrm and deps for Ansible.
2017-01-10 17:06:07 -05:00
Bill Nottingham
3e8c712771 Licenses + LGPL code for winrm vendoring. 2017-01-10 17:04:48 -05:00
AlanCoding
0a975736d9 further workflow doc copy edit with QE 2017-01-10 11:50:58 -05:00
AlanCoding
e52e6ae192 handle case where the UJT related resource is null 2017-01-10 11:33:51 -05:00
AlanCoding
30fb6fcdd3 update clarification on what WFJT copy does 2017-01-10 11:14:44 -05:00
AlanCoding
78d8d4139a workflow docs revisions after label copy change 2017-01-10 10:09:29 -05:00
Matthew Jones
415c7166b6 Adding source for LGPL deps 2017-01-04 14:26:53 -05:00
Matthew Jones
6188f2d9b5 Update third party licenses 2017-01-04 12:39:39 -05:00
Bill Nottingham
6efb22bdc1 Clean up assorted license wordings.
rnalen Appoved.(tm)
2016-12-20 15:34:29 -05:00
Leigh Johnson
aacae7b844 ui build system documents (#4353)
* add ui build system documentation, pin nodejs + npm engines to versions vetted for Tower

* Update ui_build_system.md

* Update ui_build_system.md
2016-12-09 12:33:01 -05:00
Matthew Jones
4e10d55501 Updating clustering acceptance docs 2016-12-07 11:08:39 -05:00
AlanCoding
f3427d1359 Logging Integration, ELK docker-compose as update file 2016-11-29 13:09:47 -05:00
Alan Rominger
6bffaec6f9 Merge pull request #4066 from AlanCoding/log_doc
Logging Integration feature documentation
2016-11-22 15:38:43 -05:00
Aaron Tan
03bb260963 Merge pull request #3947 from jangsutsr/workflow_doc
[workflows] Workflow Acceptance Doc
2016-11-21 15:33:46 -05:00
Aaron Tan
2995ea310f Modify wfjt copy behavior 2016-11-21 15:03:21 -05:00
Aaron Tan
220f44bdbc Give updated copy name format 2016-11-21 10:31:52 -05:00
Aaron Tan
35da7215ca Remove 'ancestor_artifacts' 2016-11-21 10:24:48 -05:00
AlanCoding
fb5575f71c fqdn 2016-11-21 10:20:06 -05:00
Matthew Jones
cb82809f10 Merge pull request #3935 from jladdjr/at-3532-typo
Minor typo fix (pointing workflow node template at unsupported unified job template)
2016-11-18 15:45:34 -05:00
AlanCoding
3d8429fe30 Logging Integration feature documentation 2016-11-18 11:20:50 -05:00
Aaron Tan
3d9a13abfc Fill in the missing pieces 2016-11-17 16:46:15 -05:00
Aaron Tan
16f1828a53 Workflow copy/relaunch added 2016-11-16 16:02:57 -05:00
Wayne Witzel III
34439fed9d Merge branch 'devel' into workflow-channels 2016-11-16 11:01:10 -05:00
Chris Meyers
8a6a061cbb Update task_manager_system.md 2016-11-16 10:51:12 -05:00
Chris Meyers
dd032c8463 Update task_manager_system.md 2016-11-16 10:37:26 -05:00
Wayne Witzel III
9fb4e75711 update websockets documentation 2016-11-16 09:43:56 -05:00
Aaron Tan
2c9a475d46 Update according to review feedback 2016-11-15 22:29:24 -05:00
Aaron Tan
cc7f2c4884 prompt field permutation added 2016-11-14 17:52:43 -05:00
Aaron Tan
ede6bef429 Typo correction 2016-11-10 15:01:01 -05:00
Aaron Tan
41e281d233 Test Coverage & Test Notes added 2016-11-10 13:12:50 -05:00
Aaron Tan
643e294245 Overview and usage manual 2016-11-09 18:25:18 -05:00
Jim Ladd
20840b9867 Fix all instances of can not 2016-11-09 17:03:25 -05:00
Aaron Tan
bb2e84f611 Initial commit. 2016-11-09 10:57:46 -05:00
Jake McDermott
db5ffa7e03 Update task_manager_system.md 2016-11-07 11:29:05 -05:00