AlanCoding
67867cf0c8
flake8: comply with new E722 rule
2017-12-01 12:16:44 -05:00
Ryan Petrello
1425021106
fix another encrypted survey password bug
...
properly encrypt extra_vars that overlap with survey passwords when
`ask_variables_on_launch=true`
see: https://github.com/ansible/ansible-tower/issues/7796
2017-11-28 16:52:47 -05:00
Ryan Petrello
7b42316366
Merge pull request #592 from ryanpetrello/fix-7793
...
fix a bug which caused v1 cred backwards-compat to apply to v2 requests
2017-11-28 14:49:54 -05:00
Ryan Petrello
26845642f0
fix a bug which caused v1 cred backwards-compat to apply to v2 requests
...
see: https://github.com/ansible/ansible-tower/issues/7793
2017-11-28 13:05:13 -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
Ryan Petrello
a80d5b1b39
reencrypt WFJT.survey_spec too
...
https://github.com/ansible/ansible-tower/issues/7046
2017-11-16 23:00:22 -05:00
Ryan Petrello
4187d02b8a
make settings.AWX_ISOLATED_KEY_GENERATION readonly
...
see: https://github.com/ansible/ansible-tower/issues/7380
2017-11-16 13:35:37 -05:00
Ryan Petrello
bc705ad8ce
Merge pull request #574 from ryanpetrello/fix-7764
...
properly perform validation on encrypted survey defaults
2017-11-10 12:07:54 -05:00
Ryan Petrello
78961c8037
properly perform validation on encrypted survey defaults
...
see: https://github.com/ansible/ansible-tower/issues/7764
2017-11-10 10:52:09 -05:00
AlanCoding
0051da95c9
fix bug of system auditor 404 viewing job
2017-11-08 10:44:41 -05:00
Alan Rominger
003d7f0915
Merge pull request #543 from AlanCoding/urlencode_host_filter
...
[3.2.2] urlencode unquote host_filter on save
2017-10-27 08:50:39 -04:00
Matthew Jones
5f3ebc26e0
Adding license checks for Tower inventory source
...
* For Tower the license must match between the source and destination
* For AWX the check is disabled
* Hosts imported from another Tower don't count against your license
in the local Tower
* Fix up some issues with enablement
* Prevent slashes from being used in the instance filter
* Add &all=1 filter to make sure we pick up all hosts
2017-10-27 08:12:14 -04:00
AlanCoding
018514d657
urlencode unquote host_filter on save
2017-10-24 08:05:08 -04:00
Ryan Petrello
5895654538
store cloudforms inventory cache files in the proper location on disk
...
with process isolation enabled (which is the awx default), cloudforms
caches inventory script results on disk; awx should direct cloudforms to
store these cache files in a location that's exposed to the isolated
environment
see: ansible/ansible#31760
2017-10-17 17:07:21 -04:00
AlanCoding
5380d57ce8
add period to active job conflict error
...
Rename StateConflict to ActiveJobConflict and used shared
message inside of that exception class.
2017-10-10 14:38:48 -04:00
Alan Rominger
5fffdec69d
Merge pull request #490 from AlanCoding/many_deleter_320
...
[3.2.2] Delete all hosts or groups from inventory source
2017-10-10 14:38:47 -04:00
AlanCoding
d2e0b26287
allow deleting hosts and groups from inv src sublists
2017-10-10 14:38:47 -04:00
Ryan Petrello
82d05e0a10
properly sanitize encrypted default passwords in JT.survey_spec
...
see: https://github.com/ansible/ansible-tower/issues/7259
2017-10-10 14:38:47 -04:00
AlanCoding
3abbe87e10
fix bug checking WFJT node for prompted resources
2017-10-10 14:38:46 -04:00
Ryan Petrello
f26bdb3e96
migrate existing survey passwords to be encrypted
...
see: https://github.com/ansible/ansible-tower/issues/7046
2017-10-10 14:38:46 -04:00
Ryan Petrello
4be4e3db7f
encrypt job survey data
...
see: https://github.com/ansible/ansible-tower/issues/7046
2017-10-10 14:38:46 -04:00
Aaron Tan
a11e33458f
Include Tower configurations into activity stream
...
Relates #7386 of ansible-tower.
Due to the uniqueness of Tower configuration datastore model, it is not
fully compatible with activity stream workflow. This PR introduced
setting field for activitystream model along with other changes to make
Tower configuration a special case for activity streams.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:38:45 -04:00
Ryan Petrello
f4a252a331
add new credential types in a more stable way in migrations
...
instead of writing individual migrations for new built-in credential
types, this change makes the "setup_tower_managed_defaults" function
idempotent so that it only adds the credential types you're missing
2017-10-10 14:38:45 -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
Ryan Petrello
94b4dabee2
disable GCE inventory caching w/ a .ini file
...
see: https://github.com/ansible/ansible-tower/issues/7609
see: https://github.com/ansible/tower/pull/451#pullrequestreview-64454393
2017-10-10 14:38:44 -04:00
Ryan Petrello
c8f4320b58
allow the credential type to be changed for unused credentials
...
see: https://github.com/ansible/ansible-tower/issues/7607
2017-10-10 14:38:43 -04:00
Ryan Petrello
554a9586c6
add awx meta variables to adhoc command extra_vars
...
see: https://github.com/ansible/ansible-tower/issues/7513
2017-10-10 14:38:37 -04:00
AlanCoding
eacbeef660
Validate against ansible variables on ad hoc launch
...
Share code between this check for ad hoc and JT callback
2017-10-05 12:14:05 -04:00
Chris Meyers
00afc87af1
Merge pull request #493 from chrismeyersfsu/fix-scan_job_migrations_unicode2
...
fix scan job migration unicode issue
2017-10-03 16:28:54 -04:00
Ryan Petrello
4c5ec2fb3a
work around an ansible 2.4 inventory caching bug
...
see: https://github.com/ansible/awx/issues/246
2017-10-03 15:45:11 -04:00
Chris Meyers
cad8710ac7
fix scan job migration unicode issue
2017-10-03 11:31:43 -04:00
Wayne Witzel III
96fd07d0f3
Assert isolated nodes have capacity set to 0 and restored based on version
2017-10-02 14:43:19 -04:00
Matthew Jones
3e38a0c17d
Add unit test for inventory_sources_already_updated
2017-09-27 16:52:05 -04:00
Chris Meyers
bc7640e4ac
Merge pull request #450 from chrismeyersfsu/fix-feature_cache2
...
2-level memoize
2017-09-21 16:37:16 -04:00
Chris Meyers
26d393e5c2
2-level memoize
...
* Allows for invalidating an entire function from the memoizer
2017-09-21 15:34:51 -04:00
AlanCoding
dba83674a2
fix task manager running task structures
...
- prevent dual-entry for first item in running jobs due to
setdefault syntax
- fix issue where queues (celery tasks) only returned the last
item in the inspector output due to looping problem
this caused reaper bugs in production
2017-09-21 14:38:58 -04:00
Wayne Witzel III
439beeab3b
Merge pull request #224 from wwitzel3/fix-shared-deps
...
Fix job shared dependencies.
2017-09-20 14:56:22 -04:00
AlanCoding
892ca98709
set execution_node right when jobs are accepted
2017-09-20 11:49:09 -04:00
Ryan Petrello
21e3078853
Merge pull request #425 from ryanpetrello/release_3.2.0
...
remove support for azure classic
2017-09-18 11:26:55 -04:00
Chris Meyers
0b40331107
azure migrations
...
* delete azure credentials
* delete azure inventory sources
2017-09-18 10:35:42 -04:00
Chris Meyers
a08a158672
remove azure
2017-09-18 10:35:32 -04:00
Matthew Jones
7e754e20ae
Merge pull request #404 from ansible/sys_auditor_can_set_pass
...
Allow System Auditor to set password
2017-09-13 06:32:10 -07:00
Matthew Jones
d308946360
Allow system auditor to set their own password
2017-09-12 16:07:47 -04:00
Ryan Petrello
4213960ec3
write the scm_revision_output to the project path instead of /tmp
...
see: https://github.com/ansible/ansible-tower/issues/7558
2017-09-11 17:44:53 -04:00
Ryan Petrello
a9c9ecb5ea
bind ansible and awx virtualenvs readonly so that jobs can't modify them
...
see: https://github.com/ansible/ansible-tower/issues/7558
2017-09-11 15:57:35 -04:00
Ryan Petrello
a2ca0e6012
add process isolation to project updates
...
see: https://github.com/ansible/ansible-tower/issues/7506
2017-09-11 15:57:28 -04:00
AlanCoding
8e1e60c187
simplify isolated job reaping by checking all task ids
2017-09-08 12:30:05 -07:00
AlanCoding
878e7ef49f
reap isolated jobs
2017-09-08 10:40:39 -07:00
Aaron Tan
15f57eb911
Merge pull request #333 from jangsutsr/7505_disallow_changing_credential_type_of_credential
...
Disallow changing credential_type of an existing credential
2017-08-31 11:37:43 -04:00
Aaron Tan
276bed2d0b
Disallow changing credential_type of an existing credential
2017-08-31 11:25:01 -04:00