Jake McDermott
45ffe7a955
update api-ui job urls
2018-05-02 14:17:28 -04:00
AlanCoding
dd8acb70be
add deletion protection to hosts
2018-04-02 13:21:22 -04:00
Ryan Petrello
23267bce38
properly filter disabled hosts on smart inventory composition
...
see: https://github.com/ansible/tower/issues/1053
2018-03-28 15:16:26 -04:00
AlanCoding
001fa634aa
include related Jobs in group del protection
2018-03-21 08:05:16 -04:00
AlanCoding
7881c921ac
block deletion of resources w unprocessed events
2018-03-16 10:14:28 -04:00
Chris Meyers
2640ef8b1c
Merge pull request #1536 from chrismeyersfsu/fix-protect_instance_groups
...
prevent instance group delete if running jobs
2018-03-15 14:57:45 -04:00
chris meyers
5d5d8152c5
prevent instance group delete if running jobs
...
* related to https://github.com/ansible/ansible-tower/issues/7936
2018-03-15 14:25:49 -04:00
Alan Rominger
0db584e23e
Merge pull request #1530 from AlanCoding/inv_env_vars
...
More restrictive inventory env vars management
2018-03-14 07:23:42 -04:00
Matthew Jones
acde2520d0
Sort cloud regions in a stable way
...
* All comes first
* Then US regions
* Then all other regions alphabetically
2018-03-13 15:31:28 -04:00
AlanCoding
3566140ecc
more restrictive inventory env vars management
2018-03-12 13:35:22 -04:00
AlanCoding
341e2c0fe2
add platform to ec2 group by options
2018-03-05 15:43:28 -05:00
Ryan Petrello
8887be5952
add validation to InventorySource.inventory to avoid task manager death
...
see: https://github.com/ansible/awx/issues/1438
2018-03-05 14:40:57 -05:00
AlanCoding
bacd895705
more consistent representations of model objects
2018-02-27 12:18:57 -05:00
AlanCoding
4727cda336
Loosen overwrite_vars constraint for new feature
2018-02-22 07:47:28 -05:00
AlanCoding
9c4d89f512
use the m2m field for inventory source creds
2018-02-20 12:34:56 -05:00
Wayne Witzel III
2c71a27630
Merge pull request #1123 from wwitzel3/new-permissions
...
New RBAC Roles
2018-02-15 16:56:03 -05:00
cclauss
2e623ad80c
Change unicode() --> six.text_type() for Python 3
2018-02-11 21:09:12 +01:00
Wayne Witzel III
6c951aa883
Add Inventory Admin role
2018-02-10 02:52:25 +00:00
Alan Rominger
b3dcfc8c18
Merge pull request #903 from ansible/item_copy
...
Implement item copy feature
2018-02-08 15:51:16 -05:00
Matthew Jones
70bf78e29f
Apply capacity algorithm changes
...
* This also adds fields to the instance view for tracking cpu and
memory usage as well as information on what the capacity ranges are
* Also adds a flag for enabling/disabling instances which removes them
from all queues and has them stop processing new work
* The capacity is now based almost exclusively on some value relative
to forks
* capacity_adjustment allows you to commit an instance to a certain
amount of forks, cpu focused or memory focused
* Each job run adds a single fork overhead (that's the reasoning
behind the +1)
2018-02-01 16:57:09 -05:00
Ryan Petrello
a5007ccd41
fix a unicode handling bug
...
see: https://github.com/ansible/ansible-tower/issues/7843
related: https://github.com/ansible/awx/pull/807
2018-01-10 15:56:31 -05:00
Ryan Petrello
2952b0a0fe
Merge pull request #807 from AlanCoding/inv_update_name
...
Make inventory update name combination of inventory and source
2018-01-08 10:43:44 -05:00
Ryan Petrello
1d3e8f8b87
Merge pull request #831 from AlanCoding/field_names
...
Use Options models to consolidate field_names list
2018-01-08 10:36:16 -05:00
Ryan Petrello
2bd656e61d
calculate stdout download length using the ORM, not raw SQL
2018-01-03 09:09:44 -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
AlanCoding
08570fe785
make inventory update name combination of inventory and source
2017-12-18 16:21:39 -05:00
AlanCoding
e188692acf
use Options models to consolidate field_names list
2017-12-13 22:39:38 -05:00
AlanCoding
1b0bca8229
add back in support of towervars lost in merge
2017-12-13 14:30:11 -05:00
Matthew Jones
9dbcc5934e
Merge remote-tracking branch 'tower/release_3.2.2' into devel
2017-12-13 12:25:47 -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
Ryan Petrello
6fa0d9d4ed
rename oVirt4 to Red Hat Virtualization
...
see: https://github.com/ansible/ansible-tower/issues/7790
2017-11-28 11:02:42 -05:00
AlanCoding
51c73cb357
update original when updating computed fields
2017-11-17 10:16:49 -05:00
AlanCoding
fb29f68efc
update smart inventory computed fields
2017-11-16 11:57:30 -05:00
Matthew Jones
fdc7f58bb4
Support passing instance filters to tower inventory src
...
* Switch ignore ssl errors to default on
* Application inventory source defaults for Tower src
2017-10-26 13:51:05 -04:00
Matthew Jones
6c597ad165
Adding initial credential and invsrc for Tower
...
* New credential type for Tower
* Inventory source definitions and migrations for Tower
* Initial Tower inventory source script
2017-10-26 13:51:05 -04:00
Ryan Petrello
ea683344f5
remove support for job-scoped auth tokens
...
When Jobs and Adhoc Commands are launched, awx uses a job-scoped auth
token to dynamically fetch inventory via the awx REST API; this process
is complicated, hard to debug, and likely won't work going forward with
oauth2-based tokens in awx
see: https://github.com/ansible/awx/issues/21
2017-10-18 17:11:47 -04:00
Ryan Petrello
74f2509482
support ovirt4 as a built-in inventory source
...
see: https://github.com/ansible/ansible-tower/issues/6522
2017-10-10 14:38:44 -04:00
Chris Meyers
a08a158672
remove azure
2017-09-18 10:35:32 -04:00
Aaron Tan
11e924b344
Disallow custom inventory sources from using meaningless credentials
2017-08-25 16:47:08 -04:00
Ryan Fitzpatrick
7e7d438d7f
Add missing ec2 group by choices
2017-08-11 14:02:37 -04:00
Chris Meyers
4e2f075fa6
better scm inv restriction error message
2017-08-08 10:42:38 -04:00
Alan Rominger
40c01d9ba7
Merge pull request #190 from AlanCoding/no_inv_src_ig
...
do not use inventory source instance groups
2017-08-08 09:14:15 -04:00
Chris Meyers
8574c6ef4a
Merge pull request #180 from chrismeyersfsu/fix-7383
...
fix single update_on_project_update per-inventory
2017-08-07 10:57:01 -04:00
Chris Meyers
95c12ac1ab
enforce muutally exclusivity on update_on_project_update and update_on_launch for scm inventory
2017-08-07 10:50:36 -04:00
AlanCoding
aca1efa552
do not use inventory source instance groups
2017-08-04 13:11:59 -04:00
Aaron Tan
bba1e46218
Move inventory delete activity stream into view
2017-08-04 10:37:34 -04:00
Chris Meyers
3c89aeaba4
fix single update_on_project_update per-inventory
2017-08-03 18:54:05 -04:00
Chris Meyers
22aa251a24
Merge pull request #127 from chrismeyersfsu/fix-6559
...
remove conditional inventory sources POST
2017-08-02 12:25:50 -04:00
Chris Meyers
6cc5f14e16
remove conditional inventory sources POST
...
* Move logic from validator down to model
* Allow only 1 inventory source of type scm with
update_on_project_update set to True; for each inventory
2017-08-02 11:49:10 -04:00
Aaron Tan
57375dc7f1
Merge pull request #101 from jangsutsr/7322_prevent_saving_jt_with_pending_deleting_inv
...
Clear related job templates when inventory is deleted
2017-08-01 20:32:06 -04:00