Wayne Witzel III
ed28faa3db
Use TMP instead of TMPDIR and only set it in RunProjectUpdate
2017-11-30 16:10:12 +00:00
Chris Meyers
6c89935521
correctly cascade job cancel
...
* Check the reason for a dependent project update failure. If it's
because of a cancel, then let the normal cancel mechanisms update the
jobs status and explanation. Do not update the dependent job's status
for a project update that was canceled, in the run code.
2017-11-27 12:34:55 -05:00
AlanCoding
fb29f68efc
update smart inventory computed fields
2017-11-16 11:57:30 -05:00
Alan Rominger
dbe135991b
Merge pull request #575 from AlanCoding/single_cancel
...
do not propogate cancel of inventory sync back up to project
2017-11-15 09:46:41 -05:00
Bill Nottingham
aaaae87aa7
Remove some environment variables the callback plugin doesn't actually use.
2017-11-14 15:57:49 -05:00
AlanCoding
33574d70c8
do not propogate cancel of inventory sync back up to project
2017-11-13 08:44:00 -05:00
Matthew Jones
5e37d6ea7e
Remove unused TOWER_HOST and AWX_HOST env vars
...
These were conflicting with the new Tower credential
2017-11-02 10:44:06 -04:00
Matthew Jones
f019452207
Merge pull request #551 from ansible/tower_inventory_source
...
Tower inventory source
2017-10-27 08:41:24 -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
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
Aaron Tan
e24e1fc1f0
Merge pull request #542 from jangsutsr/fix-7737
...
[3.2.2]support `AZURE_CLOUD_ENVIRONMENT`
2017-10-26 10:20:14 -04:00
Aaron Tan
f28b48a473
support AZURE_CLOUD_ENVIRONMENT
...
Relates #7737 of ansible-tower.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-26 10:11:21 -04:00
Ryan Petrello
c95d7d465a
work around an ansible bug that can cause project syncs to fail
...
https://github.com/ansible/ansible-tower/issues/7746
https://github.com/ansible/ansible/issues/30064
2017-10-25 11:09:39 -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
e814f28039
add logger statement for number of events
2017-10-10 14:48:00 -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
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
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
edda5e5420
feedback on ad hoc prohibited vars error msg
2017-10-06 14:07:38 -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
Wayne Witzel III
02e3f45422
do not allow ansible connection type of local for ad_hoc
2017-10-04 17:55:36 -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
Wayne Witzel III
692007072d
Set capacity to zero if the isolated node has an old version
2017-10-02 14:43:18 -04:00
AlanCoding
bfccd49a64
broaden inventory deletion retry condition
2017-09-26 10:45:30 -04:00
Ryan Petrello
328b70ceb8
fix a bug that causes azure inventory syncs w/ region='all' to fail
...
see: https://github.com/ansible/ansible-tower/issues/7668
2017-09-21 15:08:54 -04:00
AlanCoding
892ca98709
set execution_node right when jobs are accepted
2017-09-20 11:49:09 -04:00
Matthew Jones
84f9c49b6f
Propogate cert validation to inventory updates for vmware
2017-09-18 12:21:27 -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
a08a158672
remove azure
2017-09-18 10:35:32 -04:00
Matthew Jones
c07a4ff93d
Catch any unhandled exceptions grabbing notification templates
2017-09-18 09:08:40 -04:00
Matthew Jones
47c976ee91
Add a setting for vmware inventory cert validation
...
This uses the environment var expected by the vmware inventory script.
Defaults to off but can be turned on
2017-09-15 11:14:10 -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
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
6944ffa010
change imports to reflect isolated->expect move
2017-08-15 12:08:58 -04:00
AlanCoding
5dfe0b205f
pass over job-run exceptions & log ID
2017-08-14 09:57:32 -04:00
Chris Meyers
51855f1b82
Merge pull request #226 from chrismeyersfsu/fix-7399
...
reap waiting processes if crash
2017-08-09 14:44:37 -04:00
Chris Meyers
c3f24d878d
reap waiting processes if crash
2017-08-09 14:01:33 -04:00
AlanCoding
93aed04389
log specific errors for problems managing lost instance
2017-08-08 14:48:21 -04:00
Alan Rominger
8e22c7e668
Merge pull request #168 from AlanCoding/silence_computed_fields
...
silence benign errors from inventory computed fields task
2017-08-08 09:24:30 -04:00
Alan Rominger
9f63624292
Merge pull request #192 from AlanCoding/alan_bug
...
fix logger bug introduced in task except
2017-08-08 09:12:53 -04:00
Aaron Tan
148af54af7
Prevent passing "all" to GCE_ZONE
2017-08-04 14:30:37 -04:00
AlanCoding
e28e74b466
fix logger bug introduced in task except
2017-08-04 13:22:16 -04:00
Chris Meyers
4b830e1176
fix fact cache timeout env var key name
2017-08-04 09:39:18 -04:00
AlanCoding
1eddd29098
Improve logging for errors in job success/fail hooks
...
This sets the instance=None and continues with dependent
subtask processing in handle_work_error, whereas execution had
been getting halted by a DNE error.
2017-08-03 11:37:59 -04:00
AlanCoding
06eabc4410
silence benign errors from inventory computed fields task
2017-08-03 08:45:28 -04:00
AlanCoding
b01732bcb3
fix restarts in dev, allow shutdown traceback
2017-08-02 14:25:20 -04:00
AlanCoding
55cc23a712
impersonate requesting user in inventory deletion task
2017-07-31 16:06:36 -04:00
AlanCoding
9d4fd44127
retry to delete inventory in deadlocks
2017-07-31 13:43:33 -04:00
Alan Rominger
76da28783e
Merge pull request #98 from AlanCoding/shutdown_signal
...
set instance capacity to 0 on celery shutdown signal
2017-07-28 13:47:34 -04:00
AlanCoding
aff07747f8
set instance capacity to 0 on celery shutdown signal
2017-07-28 12:38:57 -04:00