Commit Graph

327 Commits

Author SHA1 Message Date
Akita Noek
831c4c2fef Cleaned up some more stale TODO's and FIXME's (or did / fixed the things) 2016-06-27 15:12:37 -04:00
Akita Noek
b57739a800 Converted except T,e expressions to except T as e 2016-06-27 15:12:37 -04:00
Matthew Jones
c812e85f65 Change email notification formatting.
Instead of pretty printing the datastructure we'll now dump out the
result in json format with indent=4 for pretty viewing.
2016-06-22 11:52:49 -04:00
Matthew Jones
526c7d719f Disable rax ssl verification everywhere 2016-06-16 15:48:36 -04:00
Matthew Jones
251dae657a Force schedule save during celery startup 2016-06-16 13:14:53 -04:00
Matthew Jones
cded126f5b worker_ready is unused here 2016-06-15 14:40:50 -04:00
Matthew Jones
19c8fe915f Add a celery worker init task
We'll use this task to perform any worker specific startup actions.
Initially this is used to re-sync any Tower schedules on startup.
2016-06-15 12:09:39 -04:00
Matthew Jones
9b49ff15bd Mass rename foreman -> satellite6
For end-user facing elements. We still maintain foreman for some
underlying logic needed by the modules
2016-06-15 11:16:15 -04:00
Matthew Jones
f545640f58 Fix an issue calling build_env for system jobs 2016-06-10 10:21:36 -04:00
Matthew Jones
3cb8c26381 Force rackspace inventory to not verify ssl 2016-06-09 14:41:19 -04:00
AlanCoding
39b410ae3e hide passwords in job_args and activity stream 2016-06-08 10:28:53 -04:00
Matthew Jones
f889113711 Granularize venv selection
Not a good idea to select the virtualenv in the base class.  Force
selection to happen in the concrete classes by calling a helper method
to set up the proper virtualenv.   This should fix any issues where
tower is selecting the wrong virtualenv to run against.
2016-06-07 14:47:20 -04:00
Graham Mainwaring
6723a385f0 Fix PYTHONPATH to use the correct lib dir when using a venv from a different Python version 2016-05-25 16:51:21 -04:00
Matthew Jones
a79c53bb17 Switch to disabling sftp batch instead of scp
For ad-hoc jobs where we are experiencing issues related to disabling
control persist to support proot.  See commit
f69846e7871cae41b19ecda33563d6365dc9c3e0 for earlier analysis
2016-05-12 15:33:58 -04:00
Matthew Jones
1faf3cceb8 Fix up notification related unicode errors
I'm not sure why I used smart_text instead of smart_str here originally
2016-05-12 10:54:00 -04:00
Matthew Jones
8a0b40e478 Force scp usage instead of sftp for ad-hoc jobs 2016-05-11 16:03:57 -04:00
Chris Meyers
ae73be12f1 remove statsd 2016-05-10 11:56:04 -04:00
Matthew Jones
6cece17024 Purge cleanup_deleted tasks as they aren't needed
This also adds a periodic static task to cleanup auth tokens
2016-05-05 16:04:36 -04:00
Matthew Jones
5895b3a343 Refactor Notification's naming
Notifier -> NotificationTemplate
notifier -> notification_template
2016-05-05 13:53:46 -04:00
Chris Meyers
517da47655 Merge pull request #1750 from chrismeyersfsu/fix-ansible_hang
fixes hanging chads, if chads were ansible
2016-05-04 15:43:59 -04:00
Matthew Jones
e3f9b631e7 Clean up some notification task bugs 2016-05-04 13:52:41 -04:00
Matthew Jones
a17bb5677b Implement extra vars on ad-hoc commands 2016-05-03 12:02:27 -04:00
Chris Meyers
b18dd8fe21 fixes hanging chads, if chads were ansible 2016-04-29 15:55:32 -04:00
Matthew Jones
fe360ca8e3 Updates to network credentials
Separating out the network credential used fields
2016-04-21 16:43:55 -04:00
Matthew Jones
e1808a6ed7 Update indentation for flake8 2016-04-21 14:13:03 -04:00
Matthew Jones
296f70ce17 Implement Azure RM creds and inventory
* Vendor ansible's azure_rm inventory script
* Add new inventory type
* Add new credential type
* Expand host instance_id column from varchar 100 to 1024 to accept the
  long instance ids returned by Azure
* Make the inventory_import azure match rename more explicit.
2016-04-21 13:51:30 -04:00
Wayne Witzel III
12b1068ed4 fix open_fifo_write call 2016-04-11 16:23:06 -04:00
Wayne Witzel III
2a3e5dd0c0 make fifo a helper for easier testing, fixed proot check 2016-04-11 10:14:50 -04:00
Wayne Witzel III
e8b35533e4 added initial API support for Network credential 2016-04-11 10:14:02 -04:00
Matthew Jones
62218cfd7d Fix virtualenv path association in job runs 2016-04-08 11:56:51 -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
Graham Mainwaring
a6acb5181a Merge pull request #1417 from ansible/python27_el6
EL6 Python 2.7 and Tower virtualenvs
2016-04-06 10:57:18 -04:00
Chris Meyers
68c14976db label cleanup periodic job 2016-04-05 15:25:01 -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
Akita Noek
219c09728d Merge branch 'devel' of github.com:ansible/ansible-tower into rbac 2016-03-31 11:32:02 -04:00
AlanCoding
fa92b2e851 back out openstack_v3 options but retain v3 functionality 2016-03-30 16:20:20 -04:00
Chris Church
3660b04d62 Add trailing newline to key data for OpenSSH formatted keys. 2016-03-29 11:03:56 -04:00
Akita Noek
5baa784ce2 Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel 2016-03-24 13:51:00 -04:00
Graham Mainwaring
1e8e53e811 Merge branch 'devel' of github.com:ansible/ansible-tower into python27_el6
Conflicts:
	packaging/rpm/ansible-tower.spec
	tools/docker-compose/start_development.sh
2016-03-21 12:13:50 -04:00
Matthew Jones
46bbc83d0d Changes for Tower virtualenv support
* Break requirements down into ansible and tower reqs
* Generate separate Ansible and Tower virtual environments
* Install appropriate requirements files into each one
* Modify development tools to use these venvs instead of our old
  site-packages
* Modify settings to indicate venv enablement and location of venvs
* Modify tasks to use the proper virtual environment for its purpose
2016-03-21 12:11:19 -04:00
AlanCoding
f4b1de766d Adding OpenStack v3 cred type 2016-03-18 16:41:09 -04:00
AlanCoding
c807d5dcf3 Add keystone v3 support via new domain field on credential 2016-03-18 16:41:09 -04:00
Akita Noek
5741b47c54 Merge remote-tracking branch 'ansible/devel' into merge-devel 2016-03-18 15:40:13 -04:00
Akita Noek
6ea99583da Mass active flag code removal 2016-03-15 09:29:55 -04:00
Akita Noek
ba833d683e Active flag removal: switched from using mark_inactive to delete calls 2016-03-15 09:29:28 -04:00
Matthew Jones
eab223d229 Make sure we are covering system jobs and template on notifications 2016-03-11 15:11:08 -05:00
Chris Meyers
259d4ec47b flake8 2016-03-09 16:48:42 -05:00
Chris Meyers
3d963d540f remove the starting of mongo 2016-03-09 15:40:09 -05:00
Matthew Jones
823e54a0b9 Fix an error sending success notifications 2016-03-08 14:14:57 -05:00