1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Commit Graph

204 Commits

Author SHA1 Message Date
Chris Meyers
e7d68409f7 fix scan job timestamp 2016-04-12 17:07:11 -04:00
Akita Noek
2d31021296 Merge pull request #1411 from wwitzel3/more-rht-integration
RedHat Inventory Integrations
2016-04-07 12:56:12 -05:00
Matthew Jones
547506a3bf Remove contextual statsd reference 2016-04-06 16:47:36 -04:00
Matthew Jones
c0afa3ca0f More commenting out of statsd 2016-04-06 16:42:30 -04:00
Matthew Jones
3ba591cea2 Remove statsd from callback
This doesn't work with our current virtualenv setup and ansible
dependencies.  Will revisit later
2016-04-06 16:29:50 -04:00
Wayne Witzel III
6635782ed8 add API support for CloudForms inventory (#1099) 2016-04-05 14:43:25 -04:00
Wayne Witzel III
051dfd4b0e add API support for Satellite 6 inventory (#1098) 2016-04-05 14:34:22 -04:00
Matthew Jones
0e2184902e Handle runner items from ansible v2
Also denote whether the trailing runner_on_ was a loop event
2016-03-22 12:31:05 -04:00
Chris Church
60c3eeaef3 Include @anoek's changes from #1029. 2016-02-25 15:01:29 -05:00
Chris Church
2f763d0ff5 Fix error with ad hoc command events when running in check mode. 2016-02-23 18:26:38 -05:00
Chris Church
718f70af23 Merge pull request #987 from AlanCoding/conn_err
Step 1 to allow jobs to run in dev server again
2016-02-23 12:04:07 -05:00
Matthew Jones
c3121211c3 Merge branch 'release_2.4.4' into devel
* release_2.4.4: (35 commits)
  Update changelog for 2.4.4 release
  Make pycompile non-fatal during deb build
  Revert "Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools"
  Roll back mock version due to packaging issues
  Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools
  change to warning behavior
  Resolve bug when building with /bin/sh on Ubuntu
  Attempt to workaround pip install issue
  point at packages with source on pypi
  Mock requires a newer setuptools when building requirements
  requests needs openssl
  Properly set the shell during directory migration
  pyrax bumpb new python license
  Typo's are bad and should be vanquished
  Conditionally install 2.6 python requirements
  separate pip requirements file for python2.6
  Added missing 'skipped' field for no_log
  Obey no_log even more when using ansible 2.0
  bump shade from 0.5.0 to 1.4
  RHEL5 compatibility and handling of error scenarios
  ...
2016-02-22 10:09:47 -05:00
AlanCoding
6bd5d8553b fix to allow jobs to run in dev server again 2016-02-18 08:34:14 -05:00
AlanCoding
44295c06b1 fix parsing error with Ubuntu14.04 2016-02-02 16:14:50 -05:00
AlanCoding
dd927c97fa change to warning behavior 2016-02-02 14:38:15 -05:00
Matthew Jones
7ab839c17f Fix up another statsd formatting error 2016-02-02 14:26:17 -05:00
Alan Rominger
fb4cad9838 Merge pull request #756 from AlanCoding/624_fix2_exit_codes
Change case of partial failure to warning
2016-02-02 13:42:00 -05:00
Wayne Witzel III
58499175d6 Set the GCE_ZONE env variable to source_regions.
Fix when an empty key is provided and add tests for validate_ssh_private_key
2016-02-02 09:49:04 -05:00
Matthew Jones
f9f10a4ed7 Add some more statsd dummy methods 2016-01-30 12:05:10 -05:00
AlanCoding
0696e59e32 change to warning behavior 2016-01-29 16:27:46 -05:00
Matthew Jones
96b754c5ec Switch to StatsClient from StatsClientBase
So as not to use a purely abstract class
2016-01-29 16:27:32 -05:00
Matthew Jones
c2875c65ca Fix stats client import 2016-01-29 15:49:51 -05:00
Matthew Jones
fd2339dbb8 Fix up flake8 line seperation issue 2016-01-29 14:52:02 -05:00
Joshua "jag" Ginsberg
d36a4cf50d Fix to NoStatsClient in callback plugin 2016-01-29 12:41:07 -07:00
Akita Noek
f8a7fb0ea1 Added missing 'skipped' field for no_log 2016-01-28 12:43:49 -05:00
Akita Noek
94e6d2a72a Obey no_log even more when using ansible 2.0
Hopefully fixes #645 this time. New function handles recursing down our
results array when it's present, also attempts to proactively protect
against future data leaks by only allowing white listed fields through.
2016-01-28 11:34:43 -05:00
Joshua "jag" Ginsberg
f25b76aee9 Integrate statsd metrics into ansible playbook execution.
* Add dependencies for pystatsd and django-statsd-mozilla
* Default turned off except for development environment
* Modify docker-compose to install statsd/graphite host
2016-01-26 16:54:24 -05:00
AlanCoding
60e242cb26 RHEL5 compatibility and handling of error scenarios 2016-01-26 11:03:03 -05:00
Alan Rominger
a7e5ad2e95 Merge pull request #669 from AlanCoding/624_fix2_exit_codes
Scan services fix for RHEL5, throw error message for Debian when non-root
2016-01-26 11:02:14 -05:00
AlanCoding
657f941ea0 RHEL5 compatibility and handling of error scenarios 2016-01-26 10:54:41 -05:00
Matthew Jones
32366b5544 Fix for rax cache timeout issue
2.4.0 level of rax.py introduces a default cache timeout of 600s, this
fixes that and includes a new rax.py inventory module that has been
submitted upstream.
2016-01-25 20:48:08 -05:00
Matthew Jones
296ca52b0f Merge pull request #661 from matburt/651_fix_rax_cache_behavior
Fix for rax cache timeout issue
2016-01-25 20:40:19 -05:00
Akita Noek
de7be08856 Obey no_log with ansible 2.0
Fixes #645
2016-01-20 15:34:59 -05:00
Matthew Jones
5a434d86f1 Fix for rax cache timeout issue
2.4.0 level of rax.py introduces a default cache timeout of 600s, this
fixes that and includes a new rax.py inventory module that has been
submitted upstream.
2016-01-20 15:12:52 -05:00
Akita Noek
1e1a023d19 Obey no_log with ansible 2.0
Fixes #645
2016-01-20 15:11:49 -05:00
AlanCoding
ed99d1eb15 fix 2nd instance of in-line conditional for RHEL5 scan issue 2016-01-19 16:38:48 -05:00
AlanCoding
6c0af3ebd9 Add special case to scan_services that fixes SLES11 scan failure issue 2016-01-19 14:32:11 -05:00
AlanCoding
3c8456d77f fix 2nd instance of in-line conditional for RHEL5 scan issue 2016-01-19 12:45:16 -05:00
AlanCoding
f956ec15fa Add special case to scan_services that fixes SLES11 scan failure issue 2016-01-19 09:54:25 -05:00
Matthew Jones
70d8935461 Fix v2 playbook_on_start method signature 2016-01-14 12:26:24 -05:00
Matthew Jones
d2e49329dd Fix old python support in scan_services
Python 2.4/RHEL5 doesn't support in-line conditionals so this breaks it
out into a normal multi-line condition
2016-01-14 12:22:16 -05:00
Matthew Jones
573403a05c Fix v2 playbook_on_start method signature 2016-01-14 11:59:27 -05:00
Matthew Jones
c442f4923b Fix old python support in scan_services
Python 2.4/RHEL5 doesn't support in-line conditionals so this breaks it
out into a normal multi-line condition
2016-01-12 11:26:55 -05:00
Matthew Jones
87e50734a6 Merge branch 'release_2.4.2' into devel
* release_2.4.2: (23 commits)
  Updating 2.4.2 changelogs
  fix the connection check fix
  more robust check added to mongo db connection
  Adding a body to our OPTIONS requests fixes 415 error responses in IE11 and Edge.
  Don't hard-fail if default isn't defined on survey
  fixed custom login info bug
  Allow an org admin to delete project updates
  Disable elasticache instance gathering for aws
  Fix DEB builds by adding 2.4.2 to reprepro conf
  When the panel lists were consolidated down the list name was changed to 'all_jobs.'  When a job is clicked from the activity stream it should show the job list filtered down by ID.
  Rolled back job url change
  track modules on system tracking page by index
  correct spelling of consisting in help text
  Fixing up flake8
  The "job" href links in the activity stream don't point to the job details page.  This is an update to the jobs href to point to /#/jobs/(job.id).
  Wrapped the SourceChange call in a function so that it can be called without clearing the credential.  This fixes a bug where the credential was not showing up in the initial edit dialog even though the data was sent properly via the API.
  Revert change to Makefile, which was causing old .deb versions to be dropped from the repo
  Refactor scan_packages for os detection
  Remove stray debugging lines
  Add SUSE, OpenSuse and Debian to scan_packages
  ...
2015-12-09 13:06:47 -05:00
Matthew Jones
5d3da1460f Fixing up flake8 2015-11-30 11:13:37 -05:00
Matthew Jones
a1fbee4fa0 Refactor scan_packages for os detection
* Use setup facts ansible_os_family for os family detection now.  Add
  support for Suse and it's ilk (which has a pretty ugly OS family
  implementation
2015-11-24 14:19:09 -05:00
Matthew Jones
d95470066c Remove stray debugging lines 2015-11-24 12:35:39 -05:00
Matthew Jones
772b7d201e Add SUSE, OpenSuse and Debian to scan_packages
Also strip the output of get_distribution() since the suse variants seem
to have extra whitespace in the string output.
2015-11-24 12:15:37 -05:00
Matthew Jones
e69fdfa79b Improvements to the package scanner
* Support Amazon (because it's RH based)
* Switch to using module_utils's get_distribution() method
  for more efficient distro detection
2015-11-24 11:20:27 -05:00
Matthew Jones
3d30ad2db2 Updates for fixes on the core ec2 inventory module
Inventory syncs will still fail if you specify an instance_filter.  We
need to check:

https://github.com/ansible/ansible/pull/13178

For the moment I'm making sure we specifically disable elasticache
querying but it still yields an error.

Will follow up with:

https://trello.com/c/h1U0w4WC/138-ec2-module-is-busted-if-you-set-instance-filters
2015-11-23 14:22:36 -05:00