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
Chris Meyers
d051b6348b
Fix child job->parent job status update.
...
* refactored so that project shares parents _update_parent_instance() code
* allow parent job status field to be anything a child status job field can be
* fixed child job status to parent job status propagation
2015-01-26 16:55:26 -05:00
Chris Meyers
8e22aafbed
fixed variable name error
2015-01-26 16:08:28 -05:00
Chris Meyers
fad5fb5f58
extra_vars_dict: handle the case where an entire yaml file is commented
2015-01-23 11:00:16 -05:00
Chris Meyers
51a7d403db
removed system job code that handles extra_vars in favor using common (unified job) code alread in use by normal jobs
2015-01-22 09:41:52 -05:00
Chris Meyers
837eb7ae2c
Merge pull request #34 from chrismeyersfsu/fix-tower_ha_redirect
...
redirect to primary host with the original requesting path preserved
2015-01-21 15:07:41 -05:00
Chris Meyers
da63fc64d0
redirect to primary host with the original requesting path preserved
2015-01-21 13:53:46 -05:00
Chris Meyers
7204209b16
output number of deleted items when running cleanup_deleted
2015-01-21 12:10:51 -05:00
Chris Meyers
20d714cc00
Merge pull request #30 from chrismeyersfsu/improvement-tower-manage_ha
...
unified tower-manage *_instance commands
2015-01-21 11:55:15 -05:00
Chris Meyers
62d63607cc
added graceful fail and meaningful error message when --days specified is too large
2015-01-21 08:31:19 -05:00
Chris Meyers
58617e41e0
unified tower-manage *_instance commands
...
Changes:
* split register_instance into register_instance and update_instance
* register_instance may only create an instance if an instance doesn't already exist and may not modify an existing instance. Before --hostname would modify the hostname for an already registered instance
* register_instance removed --timid parameter and always behave like timid is on
* remove_instance now accepts --hostname to match an instance to remove
* register_instance added better usage message
2015-01-20 15:13:12 -05:00
Chris Meyers
8705f03bf9
added 'organization' to list of related fields for inventory_scripts
2015-01-19 08:39:55 -05:00
Chris Meyers
0fcf7a51b7
Merge pull request #20 from chrismeyersfsu/fix-ec2_groups
...
fixed broken ec2 inventory tag_ checks
2015-01-16 16:29:51 -05:00
Chris Meyers
e822689ca1
test for non-existance of tag changed to be more strict to the tags form i.e. check for tag_*_* form rather than tag_*
...
tag_none grouping is more like ec2 global groups. Thus, removed the children filter test.
2015-01-16 14:16:23 -05:00
Chris Meyers
f2c9dcd173
added documentation to command: tower-manage register_instance --help
2015-01-16 11:46:33 -05:00
Chris Meyers
a6fdd9534e
added ec2 tags_none grouping for hosts without tags
2015-01-16 10:15:23 -05:00
Chris Meyers
5264d11ff0
Misspelling in save field
...
'job_status' changed to 'status'
2015-01-15 09:37:05 -05:00