Chris Meyers
c44019c4df
Merge branch 'master' into fix-credential_id
...
Conflicts:
awx/api/views.py
2015-04-27 14:57:53 -04:00
Chris Meyers
8a050dbc97
generate passwords in validate and pass back through context
2015-04-27 14:54:57 -04:00
Chris Meyers
fdce00d313
Merge pull request #163 from chrismeyersfsu/fix-credential_quick
...
quick fix so that launching job templates with cred works again
2015-04-27 14:32:33 -04:00
Chris Meyers
f297a8d2d0
quick fix so that launching job templates with cred works again
2015-04-27 14:31:36 -04:00
Chris Meyers
c29e5f40be
save state
2015-04-27 14:27:48 -04:00
Chris Meyers
90037bbc2f
fill in api browser with needed extra_vars passwords and credential
2015-04-27 14:15:35 -04:00
Chris Meyers
086ae8f9ad
allow credential_id to job template launch. Funnel credential_id into credential.
2015-04-27 13:31:57 -04:00
Chris Meyers
ee66e98af5
Merge pull request #160 from chrismeyersfsu/feature-cleanup_facts_all_time2
...
support --granularity=0d to delete all facts.
2015-04-27 13:20:17 -04:00
Chris Meyers
d0f05ac2cd
send the id of the credential to the job execution, not the credential object itself
2015-04-27 12:27:51 -04:00
Chris Meyers
f1afae4b80
support --granularity=0d to delete all facts.
...
Still respect --older_than
2015-04-27 11:12:50 -04:00
Chris Meyers
f7355ae5f3
Merge pull request #158 from chrismeyersfsu/fix-credential_file
...
return empty private data content rather than None for generate private ...
2015-04-27 08:40:10 -04:00
Chris Meyers
b323e26b2f
do not generate scm private key file if no ssh data associated with credential
2015-04-26 20:03:48 -04:00
Chris Meyers
612147e355
return empty private data content rather than None for generate private file method
2015-04-26 10:58:15 -04:00
Chris Meyers
299b0d78c8
removed the need to access data in the serializer. It's now clear what params a job template launch takes
2015-04-24 12:43:48 -04:00
Chris Meyers
0d26a700a6
sanitize request.DATA before passing to jobs
2015-04-24 12:22:31 -04:00
Chris Meyers
aaf3a191e4
removed commented out code
2015-04-24 09:45:50 -04:00
Chris Meyers
f348766430
fixed how validation errors are propogated. Also, don not allow job template to launch unless credential are available
2015-04-24 09:44:23 -04:00
Chris Meyers
b117e14e19
created a serializer for job template launch endpoint
2015-04-24 08:26:12 -04:00
Chris Meyers
4fc04a3709
Merge pull request #153 from chrismeyersfsu/fix-openstack_inventory
...
changed inventory sync private data file key to more appropriate cloud_c...
2015-04-23 16:46:30 -04:00
Chris Meyers
ce953d1ad2
changed inventory sync private data file key to more appropriate cloud_credential from scm_credential. Wrapped openstack credentials in dict
2015-04-23 16:44:30 -04:00
Chris Meyers
360aae8c25
multiple credentials implementation style more inline with existing code
2015-04-23 13:34:02 -04:00
Chris Meyers
b63a577b33
allow machine and cloud credentials to co-exist.
2015-04-23 10:11:21 -04:00
Chris Meyers
13aa8fce82
Merge pull request #147 from chrismeyersfsu/fix-azuer
...
handle shutdown azure instances
2015-04-23 10:06:26 -04:00
Chris Meyers
bbd1f41471
track azure vm by unique identifier
2015-04-22 07:05:36 -04:00
Chris Meyers
754b004c24
add instance state
2015-04-21 17:43:54 -04:00
Chris Meyers
1df51f3c48
better error handling
2015-04-20 17:15:03 -04:00
Chris Meyers
f2b58af125
prefer port with name SSH but don't require it
2015-04-20 15:39:21 -04:00
Chris Meyers
48c194f2a9
handle shutdown azure instances
2015-04-16 18:06:55 -04:00
Chris Meyers
e6f376ebc2
Merge pull request #141 from chrismeyersfsu/refactor-jobs_tests2
...
split out job test a little bit more
2015-04-14 13:01:36 -04:00
Chris Meyers
f2445beb75
flake8
2015-04-14 12:00:05 -04:00
Chris Meyers
c5d3089083
Merge pull request #140 from chrismeyersfsu/fix-license
...
detect invalid license thrown by inventory update
2015-04-14 11:25:02 -04:00
Chris Meyers
47500ae20d
per @cchurch recomendation, log using the awx.fact namespace
2015-04-14 10:53:01 -04:00
Chris Meyers
af25a362da
jerkins wants base imported .. what jerkins wants .. jerkins gets
2015-04-14 10:22:39 -04:00
Chris Meyers
64d4304a97
flake8
2015-04-14 10:16:23 -04:00
Chris Meyers
4a4b14ba98
split out job test a little bit more
2015-04-14 09:06:20 -04:00
Chris Meyers
a930c4d8b2
detect invalid license thrown by inventory update
2015-04-14 08:36:55 -04:00
Chris Meyers
caf49979f8
Merge pull request #139 from chrismeyersfsu/fix-logger
...
removed logger call
2015-04-14 08:06:10 -04:00
Chris Meyers
f8a940f5ac
per @cchurch recomendation, log using the awx.fact namespace
2015-04-14 07:18:52 -04:00
Chris Meyers
5787e4a67f
removed logger call
2015-04-13 19:52:27 -04:00
Chris Meyers
d21d3ee191
Merge pull request #135 from chrismeyersfsu/fix-cancel_job_template_with_survey
...
job cancelation of job templates with surveys wont send extra_vars so don't expect them to
2015-04-13 19:44:28 -04:00
Chris Meyers
bbe23b0071
Merge pull request #133 from chrismeyersfsu/feature-cleanup_facts
...
implemented cleanup_facts command + tests
2015-04-13 15:10:10 -04:00
Chris Meyers
6698fb542f
job cancelation of job templates with surveys wont send extra_vars so don't expect them to
2015-04-13 14:47:12 -04:00
Chris Meyers
7ecddcfa70
flake8
2015-04-13 11:53:27 -04:00
Chris Meyers
44e5db39ab
implemented cleanup_facts command + tests
2015-04-13 10:45:47 -04:00
Chris Meyers
3f8ab73733
Merge pull request #131 from chrismeyersfsu/master
...
install pymongo from pip
2015-04-08 16:19:17 -04:00
Chris Meyers
53bc065d32
Merge pull request #130 from chrismeyersfsu/feature-mongodb_single_fact
...
added single fact across multiple hosts query + test cases
2015-04-07 21:25:03 -04:00
Chris Meyers
fc73f1f87a
added single fact across multiple hosts query + test cases
2015-04-07 17:50:07 -04:00
Chris Meyers
cd39b2e2e9
Merge pull request #128 from chrismeyersfsu/feature-mongodb2
...
Implemented fact scan storage logic. …
2015-04-07 10:40:35 -04:00
Chris Meyers
2a039bb31f
moved new fact implementation to fact app
2015-04-07 09:50:35 -04:00
Chris Meyers
85c753afea
added host timeline query
2015-04-07 09:50:35 -04:00
Chris Meyers
d93a2ec9d1
added host fact query in time
2015-04-07 09:50:35 -04:00
Chris Meyers
a769af0e83
flake8 fixes
2015-04-07 09:50:35 -04:00
Chris Meyers
f5600be39e
missed changing path to external resources
2015-04-07 09:50:35 -04:00
Chris Meyers
35e1c19fc2
do not run tests if mongodb connect fails
2015-04-07 09:50:35 -04:00
Chris Meyers
c03cef022d
Implemented fact scan storage logic.
...
* added mongo connection logic
* added mongo dbtransform logic to allow keys with . and $
* altered tower fact scanner CacheModule to emit a message for each fact module facts (including ansible facts). Previously, seperate facts module facts were getting concatenated to each subsequent emi
* tower fact scanner CacheModule timeout set as to not hang for forever
* broke apart commands.py test
* added unit test for run_fact_cache_receiver, facts, and dbtransform
2015-04-07 09:50:35 -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 Meyers
f28543ecae
Merge pull request #88 from chrismeyersfsu/fix-ha_commands
...
forgot to call super
2015-02-24 13:35:44 -05:00
Chris Meyers
8ded389600
forgot to call super
2015-02-24 13:34:57 -05:00
Chris Meyers
47541afca1
Merge pull request #86 from chrismeyersfsu/fix-scm_delete_on_next_update
...
bandaid for scm_delete_on_next_update save issue
2015-02-23 13:32:32 -05:00
Chris Meyers
3ad9229ea9
bandaid for scm_delete_on_next_update save issue
2015-02-23 13:23:12 -05:00
Chris Meyers
41b4a66640
Merge pull request #84 from chrismeyersfsu/feature-survey_password_redact
...
don't try and decode extra_vars if there are no extra_vars. Further, if ...
2015-02-20 15:38:49 -05:00
Chris Meyers
71318e5d9a
don't try and decode extra_vars if there are no extra_vars. Further, if extra_vars isn't a json, then don't try to redact.
2015-02-20 15:37:53 -05:00
Chris Meyers
71e0469fab
Merge pull request #81 from chrismeyersfsu/feature-survey_password_redact
...
redact survey password fields in job detail extra_vars
2015-02-19 11:47:17 -05:00
Chris Meyers
78e1698333
redact survey password fields in job detail extra_vars
2015-02-19 09:20:05 -05:00
Chris Meyers
ea49c78bde
Merge pull request #79 from chrismeyersfsu/feature-survey_password_redact
...
Feature survey password redact
2015-02-18 15:32:59 -05:00
Chris Meyers
4f907c6645
make flake8 happy
2015-02-18 15:30:51 -05:00
Chris Meyers
81205d37dc
removed extra redudant import
2015-02-18 14:52:48 -05:00
Chris Meyers
6f2016f9c0
Merge pull request #77 from chrismeyersfsu/feature-survey_password_redact
...
break up tests.jobs and fix awx.api.tests
2015-02-18 14:51:32 -05:00
Chris Meyers
9f9fc3f8b3
break up tests.jobs and fix awx.api.tests
2015-02-18 14:50:54 -05:00
Chris Meyers
7da54263b6
Merge pull request #74 from chrismeyersfsu/feature-survey_password_redact
...
redact survey password type values w/ tests
2015-02-18 11:40:30 -05:00
Chris Meyers
1e871f8d7c
redact survey password type values w/ tests
2015-02-18 11:37:50 -05:00
Chris Meyers
d534674568
Merge pull request #61 from chrismeyersfsu/fix-settings_proot
...
disable proot on test that is failing
2015-02-03 15:32:37 -05:00
Chris Meyers
3f7e73a758
disable proot on test that is failing
2015-02-03 15:24:20 -05:00
Chris Meyers
6c84fca62c
Merge pull request #59 from chrismeyersfsu/improvement-cleanup_deleted_summary_count
...
print a single line summary containing the number of deletions
2015-02-03 12:21:33 -05:00
Chris Meyers
7419b88cc0
print a single line summary of the number of deletions
2015-02-03 12:15:07 -05:00
Chris Meyers
766d972d8c
Merge pull request #58 from chrismeyersfsu/refactor-settings
...
Refactor settings
2015-02-03 12:08:30 -05:00
Chris Meyers
981eeb3c88
towards tower-qa running against dev ansible-tower
2015-02-03 11:58:56 -05:00
Chris Meyers
6d99ed2774
Merge pull request #56 from chrismeyersfsu/improvement-auth_behind_proxy
...
add support to get ip address from HTTP_X_FORWARDED_FOR header
2015-02-03 10:08:14 -05:00
Chris Meyers
e7b8bf9511
Merge pull request #57 from chrismeyersfsu/improvement-remote_addr_headers_confd
...
add conf.d option for REMOTE_HOST_HEADERS
2015-02-03 10:08:01 -05:00
Chris Meyers
f1674df788
towards an easier to setup development environment
2015-02-03 09:22:31 -05:00
Chris Meyers
76746e6c13
add support to get ip address from HTTP_X_FORWARDED_FOR header
2015-02-03 08:32:36 -05:00
Chris Meyers
5ca31292e4
Merge pull request #54 from chrismeyersfsu/improvement-stdout_sensitive_data_removal
...
fix use before declare and added a missed redact
2015-01-30 15:50:03 -05:00
Chris Meyers
ee9ae8bb00
fix use before declare and added a missed redact
2015-01-30 15:48:06 -05:00
Chris Meyers
f1ba8273be
Merge pull request #52 from chrismeyersfsu/improvement-stdout_sensitive_data_removal
...
calls to redaction mechanism placed in correct places
2015-01-30 12:48:16 -05:00
Chris Meyers
61d843ad49
Merge pull request #53 from ansible/project-updates
...
Update projects when a new primary is set.
2015-01-30 12:47:50 -05:00
Chris Meyers
77625483bb
calls to redaction mechanism placed in correct places
...
* access to _raw stdout methods/variables remains raw
* wrapped _raw access in redaction where needed
2015-01-30 11:15:31 -05:00
Chris Meyers
c8f7e781b1
Merge pull request #51 from chrismeyersfsu/improvement-stdout_sensitive_data_removal
...
added uri redaction to stdout
2015-01-30 10:51:45 -05:00
Chris Meyers
d326aa181e
added uri redaction to stdout
2015-01-30 10:18:53 -05:00
Chris Meyers
c7006d91b2
Merge pull request #47 from chrismeyersfsu/fix-project_update_parent_instance
...
always save parent
2015-01-29 09:38:10 -05:00
Chris Meyers
ece59c31e9
always save parent
2015-01-29 09:34:43 -05:00
Chris Meyers
10f222e48f
Merge pull request #46 from chrismeyersfsu/fix-child_parent_status_propogation
...
did not previously translate project update parent instance correctly
2015-01-28 10:17:05 -05:00
Chris Meyers
7b4e2953a6
did not previously translate project update parent instance correctly
2015-01-28 10:11:10 -05:00
Chris Meyers
fc858af328
Merge pull request #45 from chrismeyersfsu/fix-variable_name_not_quoted
...
forgot to put quotes around a key name
2015-01-28 07:46:20 -05:00
Chris Meyers
fc552a76b7
forgot to put quotes around a key name
2015-01-28 07:45:47 -05:00
Chris Meyers
e09436ee0c
inventory_import behave more like ansible
...
```
mkdir inv
echo foo > inv/hosts
mkdir inv/host_vars
touch inv/host_vars/foo
touch inv/host_vars/foo.yml
```
```
ansible -i ./inv -c local -m ping all
```
```
tower-mange inventory_import --inventory-id=1 ./inv
```
The tower command above now throws an error similar to ansible:
`Multiple variable files found. There should only be one.`
2015-01-27 16:15:13 -05:00
Chris Meyers
85743d2250
fixed inventory source update # license hosts check
2015-01-27 16:15:12 -05:00
Chris Meyers
6fba494692
Merge pull request #43 from chrismeyersfsu/improvement-inventory_import_more_like_ansible
...
inventory_import behave more like ansible
2015-01-27 15:11:13 -05:00
Chris Meyers
cfb56c25a0
inventory_import behave more like ansible
...
```
mkdir inv
echo foo > inv/hosts
mkdir inv/host_vars
touch inv/host_vars/foo
touch inv/host_vars/foo.yml
```
```
ansible -i ./inv -c local -m ping all
```
```
tower-mange inventory_import --inventory-id=1 ./inv
```
The tower command above now throws an error similar to ansible:
`Multiple variable files found. There should only be one.`
2015-01-27 14:56:03 -05:00
Chris Meyers
76ad9720dd
fixed inventory source update # license hosts check
2015-01-27 08:58:30 -05:00