3974 Commits

Author SHA1 Message Date
Chris Church
96df8a6d37 Add field on inventory detail to indicate if the user has permission to run ad hoc commands. 2015-04-06 14:58:26 -04:00
Matthew Jones
037c7342c0 Merge branch 'credential_becomes_refactor' into upstream_master
* credential_becomes_refactor:
  Move 'become_enabled' to JobOptions to allow a toplevel field to exist on the Job model also.  Update tasks and migrations to reflect this
  Last of the ad-hoc priv escalation unit test fixes
  Fixing up some unit tests for "become" refactor
  Changing up ad-hoc based unit tests to follow the new "become" refactor
  Migrate ad-hoc feature to use the new ansible become method if provided
  Refactor pbexpect string matches to submit become password
  Updates and fixes for unit tests on supporting ansible "become"
  Refactor credential to use ansible become if using a new enough ansible version.  Add become flag to job template

Conflicts:
	awx/main/tests/ad_hoc.py
2015-04-06 13:37:36 -04:00
Matthew Jones
55f266d323 Move 'become_enabled' to JobOptions to allow a toplevel field to exist
on the Job model also.  Update tasks and migrations to reflect this
2015-04-06 12:34:47 -04:00
Chris Church
e2a6f100e1 Finish ad hoc command unit tests. 2015-04-05 18:32:04 -04:00
Matthew Jones
736f86fc72 Last of the ad-hoc priv escalation unit test fixes 2015-04-03 16:51:34 -04:00
Jared Tabor
0fdb9703ea removing intervals that attempt to open sockets
the intervals are not necessary and we can rely on the socket service doing the reconnection for us.
2015-04-03 16:44:34 -04:00
Matthew Jones
e8d010533f Fixing up some unit tests for "become" refactor 2015-04-03 16:26:52 -04:00
Matthew Jones
39d0f91fdb Merge pull request #117 from matburt/scan_files_implementation
Scan files implementation
2015-04-03 15:37:34 -04:00
Matthew Jones
beac5c30d2 Changing up ad-hoc based unit tests to follow the new "become" refactor 2015-04-03 15:35:04 -04:00
Matthew Jones
2e58f5fd00 Migrate ad-hoc feature to use the new ansible become method if provided 2015-04-03 15:17:52 -04:00
Bill Nottingham
767ec36ad6 Fix typo 2015-04-03 15:00:01 -04:00
Matthew Jones
b6e9382273 Refactor pbexpect string matches to submit become password 2015-04-03 13:57:33 -04:00
Jared Tabor
aae91bbf37 Socket.js
clearing out setInterval timer that tries to reconnect the client to the socket service from within the socket controller for cases where the auth token is expired.
2015-04-03 12:46:09 -04:00
Chris Meyers
c06ba1209e Merge pull request #119 from chrismeyersfsu/ops-mongo_dependencies
added dependencies mongoengine and pymongo
2015-04-03 09:17:24 -04:00
Chris Meyers
9012455b6d added dependencies mongoengine and pymongo 2015-04-03 08:40:16 -04:00
Chris Church
22e0c9449b Update EC2/GCE inventory scripts from core. 2015-04-03 00:30:58 -04:00
Chris Church
0fd2d8bf25 Merge pull request #111 from wenottingham/cert-foo
More AWX -> Tower fixes.
2015-04-03 00:08:48 -04:00
Chris Church
18e38707c2 Add callback methods for v2 support. Closes #115. 2015-04-03 00:06:49 -04:00
Chris Church
269391e15d Merge pull request #107 from tgerla/galaxy-hack
implement basic galaxy integration in the Project Update playbook
2015-04-02 23:25:54 -04:00
Chris Church
12e0ec960c Add support for cleaning up ad hoc commands. 2015-04-02 15:40:12 -04:00
Matthew Jones
5ff7558cd3 Updates and fixes for unit tests on supporting ansible "become" 2015-04-02 13:38:38 -04:00
Matthew Jones
d5c9e37499 Refactor credential to use ansible become if using a new enough ansible
version.  Add become flag to job template
2015-04-02 10:05:56 -04:00
Chris Church
1a54ed5e17 Fix unified_job_template field in serializer to return ID. 2015-04-01 14:12:31 -04:00
Chris Church
639522fc05 Fix job relaunch test to expect 201. 2015-03-31 19:27:54 -04:00
Chris Church
89bcffc9ad Fix flake8 warnings. 2015-03-31 17:48:36 -04:00
Chris Church
88e7f6624c Update relaunch endpoints to use custom serializer, check passwords needed before creating/copying job or ad hoc command. 2015-03-31 17:40:00 -04:00
Chris Church
02eda72bd9 Add name field for ad hoc commands, get relaunch working. 2015-03-31 16:42:35 -04:00
Joe Fiorini
d48fbaa6b4 Support build configuration allowing plato reports to run 2015-03-31 15:01:19 -04:00
Chris Church
32fafe02fa Merge pull request #100 from cchurch/adhoc_commands
Support for ad hoc commands
2015-03-31 12:52:23 -04:00
James Laska
b17f89ac74 Merge pull request #118 from wenottingham/pippy-branch
Get pip package list in sosreport.
2015-03-31 11:48:40 -04:00
Bill Nottingham
24e75e37e9 Get pip package list in sosreport. 2015-03-31 11:45:11 -04:00
Chris Church
904ea61d54 Make sure stdout template is included in build. 2015-03-30 15:55:57 -04:00
Chris Church
f7b8d510dc Implement support for ad hoc commands. 2015-03-30 13:04:19 -04:00
Joe Fiorini
d9aa35566b Replace string usage of lib/ansible path 2015-03-30 10:16:11 -04:00
Matthew Jones
f6aa11eb67 Update playbook to pass conditional constraints for file scanning 2015-03-30 10:15:36 -04:00
Joe Fiorini
076e9ec9aa Restore doc comments in list generator 2015-03-30 10:03:15 -04:00
Joe Fiorini
3823b394b0 Fix bad parameters in rest stub 2015-03-27 17:12:34 -04:00
Joe Fiorini
98eba55bea Add example for tracking button state with multi-select-list 2015-03-27 16:52:23 -04:00
Matthew Jones
c0364b5bd1 Support recursive mode on the file scanner 2015-03-27 16:51:03 -04:00
jaredevantabor
bbf87675db Merge pull request #106 from jaredevantabor/scan-job-templates
Scan job templates
2015-03-27 15:57:18 -04:00
Jared Tabor
3512bcdc59 moving jt test to test folder
so that merge will pass jenkins
2015-03-27 15:24:36 -04:00
Joe Fiorini
259c9c9a89 Allow test globals for jshint 2015-03-27 14:07:38 -04:00
Jared Tabor
2401865f59 adding delete jt service 2015-03-27 14:03:16 -04:00
Matthew Jones
8204f42972 Merge pull request #108 from matburt/scan_services_implementation
Scan services implementation
2015-03-27 13:29:38 -04:00
Matthew Jones
f4d960b127 Fix an issue where going from having 1 or more hosts to having 0 hosts
could trigger an inventory sync failure
2015-03-27 13:25:16 -04:00
Joe Fiorini
48a26a633c Merge pull request #116 from joefiorini/multi-select
Implements multi-select-list component
2015-03-27 11:05:47 -04:00
Matthew Jones
fe82b54158 Remove the old version checks from our job runners used to test features
of old Ansible versions:

* INVENTORY_HOSTVARS from pre-1.3
* Vault password prompting from pre-1.5
* Git hostkey acceptance from pre-1.5
2015-03-26 13:42:42 -04:00
Matthew Jones
180a262d36 Remove old pre-vault version checks that are breaking unit tests 2015-03-26 13:37:20 -04:00
Matthew Jones
345e2fc65e Fix a pexpect bug where ansible now looks for "SU password" instead of
"su password" and that screwed us up a bit
2015-03-26 12:15:25 -04:00
Matthew Jones
e282a2045c Add some documentation to the header for the file scanner 2015-03-26 11:37:20 -04:00