Aaron Tan
047ad7ca4a
Enforce extra_vars override hierachy
2017-07-26 18:10:33 -04:00
Alan Rominger
22e1e14c4f
Merge pull request #62 from AlanCoding/log_exceptions
...
introduce new parent task class in order to log exceptions
2017-07-26 12:31:34 -04:00
AlanCoding
cf033f3190
introduce new parent task class in order to log exceptions
2017-07-26 12:20:07 -04:00
Bill Nottingham
4276959dc2
Add runas to the actual list of privilege escalations (added in 2.3).
...
Migration added by hand from the 3.1 migration.
2017-07-25 17:23:10 -04:00
Bill Nottingham
7077271299
Fixup flake8
2017-07-25 17:23:10 -04:00
Bill Nottingham
864d803273
Don't hardcode privilege escalation prompts if they're all of the same format.
...
Just create them all from supported privilege escalation types.
2017-07-25 17:23:10 -04:00
Ryan Petrello
d3796e81ba
disable extraneous activity stream messages for credential creation
...
see: https://github.com/ansible/ansible-tower/issues/7257
2017-07-25 15:47:55 -04:00
AlanCoding
8746df7b31
update SCM test to mock inventory update
2017-07-25 15:41:01 -04:00
Ryan Petrello
373240135c
Merge pull request #34 from ryanpetrello/release_3.2.0
...
more tower -> awx for task execution and isolated tooling
2017-07-25 11:16:04 -04:00
Alan Rominger
bd02dd4f1d
Merge pull request #36 from AlanCoding/dont_tell_me_twice
...
Disable activity stream messages for copying labels on job launch
2017-07-25 10:53:33 -04:00
Ryan Petrello
e29492a259
more tower -> awx for task execution and isolated tooling
2017-07-25 10:36:06 -04:00
Bill Nottingham
0cf376ca6f
Merge pull request #23 from wenottingham/do-pmrun-run-run
...
Fixup prompt check for pmrun usage
2017-07-25 10:07:59 -04:00
AlanCoding
a49209b954
disable activity stream messages for copying labels on job launch
2017-07-25 09:44:06 -04:00
Alan Rominger
439ca6d32e
Merge pull request #27 from AlanCoding/initial_sync
...
Use "sync" type when doing SCM inv src update on create
2017-07-24 21:20:08 -04:00
Jake McDermott
58392009fc
fix jenkins f8 error
2017-07-24 20:19:41 -04:00
Ryan Petrello
6b6b4de205
Merge pull request #13 from ryanpetrello/fix-7252
...
allow Job Templates to launch with *only* a vault credential
2017-07-24 16:36:44 -04:00
Ryan Petrello
243c36d28f
Merge pull request #30 from ryanpetrello/fix-isolated-awx
...
fix tower-expect -> awx-expect for isolated tower builds
2017-07-24 16:22:02 -04:00
Ryan Petrello
94efdec092
Merge pull request #12 from ryanpetrello/fix-6776
...
don't allow boolean credential type fields that specify `secret`
2017-07-24 16:17:56 -04:00
Ryan Petrello
8ce1421c6a
fix tower-expect -> awx-expect for isolated tower builds
2017-07-24 16:03:58 -04:00
Chris Meyers
145caafdc8
Merge pull request #17 from chrismeyersfsu/fix-6570
...
all dependent jobs must finish before starting job
2017-07-24 15:33:23 -04:00
AlanCoding
cc547af18b
on initial SCM inv src creation update, dont update project rev
2017-07-24 15:12:16 -04:00
Jim Ladd
deb8eaa982
Disable POST to v1 inventory_sources
2017-07-24 14:42:08 -04:00
Jim Ladd
8983351e99
Deprecate post to v2 jobs ( #18 )
2017-07-24 14:24:38 -04:00
Chris Meyers
01316aebf7
Merge pull request #7 from chrismeyersfsu/fix-7261
...
allow smart inventory to be created
2017-07-24 13:43:59 -04:00
Chris Meyers
eaddafc920
allow smart inventory to be created
...
related to https://github.com/ansible/ansible-tower/issues/7261
2017-07-24 13:43:15 -04:00
Bill Nottingham
e345041173
Fixup prompt check for pmrun usage
2017-07-24 12:59:41 -04:00
Chris Meyers
525490a9a0
all dependent jobs must finish before starting job
...
related to https://github.com/ansible/ansible-tower/issues/6570 https://github.com/ansible/ansible-tower/issues/6489
* Ensure that all jobs dependent on a job have finished (i.e. error,
success, failed) before starting the dependent job.
* Fixes a bug where a smaller set of dependent jobs to fail upon a
update_on_launch job failing is chosen.
* This fixes the bug of jobs starting before dependent Project Updates
created via update on launch. This also fixes similar bugs associated
with inventory updates.
2017-07-24 12:31:35 -04:00
Alan Rominger
2ce300aa1e
Merge pull request #15 from AlanCoding/awx_morphin
...
update TOWER_VENV_PATH setting to new awx location
2017-07-24 12:26:08 -04:00
AlanCoding
eaeff7e290
rename setting TOWER_VENV_PATH to AWX_VENV_PATH
2017-07-24 12:23:54 -04:00
Ryan Petrello
b0f5d2f82d
allow Job Templates to launch with *only* a vault credential
...
see: https://github.com/ansible/ansible-tower/issues/7252
2017-07-24 11:42:35 -04:00
Ryan Petrello
9f11c008d2
don't allow boolean credential type fields that specify secret
...
secret doesn't really make sense for boolean values; they can't store
sensitive content because they're just true|false
see: https://github.com/ansible/ansible-tower/issues/6776
2017-07-24 11:41:12 -04:00
Ryan Petrello
6d201c44d9
fix a busted unit test re: tower -> awx
2017-07-24 11:36:11 -04:00
Matthew Jones
f175fbba23
Fix up some tower-manage -> awx-manage commands
2017-07-24 09:38:36 -04:00
Matthew Jones
3892e4e389
Tower -> AWX Tooling Migration
...
* Switching version number scheme and mechanism
* Refactor development tooling towards 'awx' paths and names
* Purging packaging details from Makefile
2017-07-21 17:06:45 -04:00
Alan Rominger
cf967d244b
Merge pull request #7166 from AlanCoding/reverse_fk_search
...
Correct search terms for reverse FK fields
2017-07-21 15:06:47 -04:00
Ryan Petrello
89637c0b93
Merge pull request #7251 from ryanpetrello/ugh-pexpect
...
fix a unit test that periodically fails
2017-07-21 14:51:56 -04:00
Ryan Petrello
83ac761d81
fix a unit test that periodically fails
...
if you run this test *a lot*, it fails - seemingly due to a bug in
pexpect itself and how it handles stdout buffering; introducing a bit
of latency seems to make the issue go away
see: #7171
2017-07-21 14:39:55 -04:00
AlanCoding
4bb9bd5a2b
correct search terms for reverse FK fields
2017-07-21 14:16:14 -04:00
Wayne Witzel III
822aa65207
Squash migrations 3.1 / 3.2
2017-07-21 13:24:14 -04:00
Christian Adams
86210b611c
Merge pull request #7222 from rooftopcellist/inventory_update_not_manual
...
Inventory Update All no longer includes manual sources
2017-07-21 13:04:14 -04:00
Ryan Petrello
340ced02e2
Merge pull request #7240 from ryanpetrello/fix-7216
...
improve sanitation of empty credential values to match API v1 behavior
2017-07-21 12:45:16 -04:00
adamscmRH
98c8499f2f
improved query efficiently, refactored code
2017-07-21 12:22:24 -04:00
Bill Nottingham
67a7df0658
Merge pull request #7236 from wenottingham/florence-and-the-machine-credentials
...
Keep the 'machine' credential name for user/password & key credentials.
2017-07-21 12:02:54 -04:00
Bill Nottingham
836dc7d7f5
Fixup unit tests
2017-07-21 11:45:02 -04:00
Ryan Petrello
a640d6afec
improve sanitation of empty credential values to match API v1 behavior
...
This is mostly backwards compatability to avoid surprises: in 3.1.x
if you submit a field value with `null` or an empty string to
a CharField, it's treated as an empty string (and SSH key validation
is skipped). For boolean field values (`net.authorize`), `null` and
empty string are coerced to `False`.
see: #7216
see: #7218
2017-07-21 11:25:56 -04:00
Chris Meyers
c73cc84e59
Merge pull request #7170 from chrismeyersfsu/fix-4779
...
validate schedule extra_data
2017-07-21 10:53:53 -04:00
Aaron Tan
65101736a3
Merge pull request #7017 from jangsutsr/6988_remove_run_type_project_update_task_impact
...
Remove run type project update task_impact
2017-07-21 10:51:25 -04:00
Alan Rominger
1581fd7c50
Merge pull request #7226 from AlanCoding/act_strm_cleanup
...
disable 2 more types of unhelpful act. str. entries
2017-07-21 10:50:30 -04:00
Alan Rominger
eff5022635
Merge pull request #7195 from AlanCoding/exceptions_galore
...
Additional exception handling for SCM inv updates
2017-07-21 10:49:08 -04:00
Chris Meyers
41ae7b5120
validate schedule extra_data
...
related to #4779
* Ensure days is a non-negative integer
* Ensure that extra_data is a json payload
2017-07-21 10:46:44 -04:00