summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use events instead of sleep for result readingthreading_instead_of_forkingJames Cammarata2017-10-022-1/+5
|
* Updating locking in plugins after rebasingJames Cammarata2017-10-021-4/+12
|
* Use threading instead of concurrent.futures for py2 and py3James Cammarata2017-10-021-11/+4
|
* Use persistent threads with job/results queuesJames Cammarata2017-10-024-157/+140
| | | | Instead of creating a one-time use thread for every host/task
* Start of work to use threading instead of forkingJames Cammarata2017-10-023-52/+165
| | | | | | | | | | Rather than using multiprocessing (Process and Queue objects) to do worker tasks in Ansible: * Using concurrent.futures * Using ThreadProcessExecutor * Making PluginLoader thread-safe * Gutting a lot of code dealing with message passing
* [cloud] Fix handling of `encrypt` option in aws_s3 module (#30822)Dave Grochowski2017-10-021-4/+5
|
* New module - vmware_guest_powerstateAbhijeet Kasurde2017-10-027-107/+384
| | | | | | | | | Fix adds a new module 'vmware_guest_powerstate' to manage power states of virtual machine. Fixes: #30371 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Add testsuite for vmware_maintenancemodeAbhijeet Kasurde2017-10-022-0/+116
| | | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Include the top level folder for esxi in the break conditionJames Tanner2017-10-021-1/+1
|
* Implement second change from #30826James Tanner2017-10-021-1/+4
|
* Get the moid in a more failsafe mannerJames Tanner2017-10-021-1/+5
|
* docker_service build command respects the "pull: no" parameterAndrew Lihonosov2017-10-021-1/+1
| | | | Fixes #30296.
* Fix running docker container with not readable logging driver. Fixes #27278Artem Bolshakov2017-10-021-1/+8
|
* corrected yaml extensions ini settingBrian Coca2017-10-021-2/+2
|
* [cloud] add boto3 requirement to `cloudformation` module docs (#31135)Prasad Katti2017-10-021-1/+1
|
* yaml inventory: Better error reporting on typo. fixes (#31118)Julien Palard2017-10-021-1/+5
|
* Add an option to spawn vcsim in esx mode (#31155)jctanner2017-10-021-6/+18
|
* fixed url issue for rpm location (#31164)Dylan Silva2017-10-021-1/+1
| | | Thanks @thaumos!
* Catch AttributeError if regex is not found. (#30990)n0trax2017-10-011-2/+5
|
* Avoid calling maintenace or detach on destroy storage domain. (#28962)maorlipchuk2017-10-011-0/+4
| | | | | | | | As part of the absent state of ovirt_storage_domains module, the pre_remove method tries to move the stoage domain to maintenance and detach it. In case a destroy of a storage domain is being called there is no need for those operations since the destroy might be merely a DB operation.
* Fix typo in dev_guide/developing_plugins (#31142)Michihito Shigemura2017-10-011-7/+7
|
* Fix typo in dev_guide/developing_modules_general (#31122)Michihito Shigemura2017-10-011-1/+1
|
* Fix typo in dev_guide/developing_modules_documenting (#31120)Michihito Shigemura2017-09-301-2/+2
|
* Added quotes to start and end samplesPrasad Katti2017-09-301-2/+2
|
* Small changes.Dag Wieers2017-09-301-5/+5
|
* Document return values for command modulePrasad Katti2017-09-301-0/+25
|
* Make vm_username and vm_password required paramsAbhijeet Kasurde2017-09-301-76/+68
| | | | | | | | | vm_username and vm_password are required parameters in vmware_vm_shell. Fix adds changes to documentation as well. Fixes: #28266 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Updated changelog to show that 2.4 is no longer RC.Phillip Thurston2017-09-301-1/+1
|
* remove action plugin only fields from 'file' calls (#31047)Brian Coca2017-09-292-9/+13
| | | | | | | * remove action plugin only fields from 'file' calls fixes #30556 * Add a test for #30556
* module_utils.urls - Encode the proxy connect as binary (#30811)Damian Zaremba2017-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | * module_utils.urls - Encode the proxy connect as binary Under Python3 the sendall method expects binary not a string. Prior to this change the below exception was being thrown; Traceback (most recent call last): File "/tmp/ansible_umxox7_x/ansible_modlib.zip/ansible/module_utils/urls.py", line 1044, in fetch_url client_key=client_key, cookies=cookies) File "/tmp/ansible_umxox7_x/ansible_modlib.zip/ansible/module_utils/urls.py", line 951, in open_url r = urllib_request.urlopen(*urlopen_args) File "/opt/blue-python/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/opt/blue-python/3.6/lib/python3.6/urllib/request.py", line 524, in open req = meth(req) File "/tmp/ansible_umxox7_x/ansible_modlib.zip/ansible/module_utils/urls.py", line 729, in http_request s.sendall((self.CONNECT_COMMAND % (self.hostname, self.port)).decode()) AttributeError: 'str' object has no attribute 'decode' Encoding the value is inline with the lines below (Proxy-Authorization etc) which are being sent as binary.
* removed typo from dig docsBrian Coca2017-09-291-1/+1
|
* [cloud][contrib] Set missing default values for EC2 inventory (#28375)Jiri Tyr2017-09-291-129/+108
| | | | | | | | | | | | | | | | * Set missing default values for EC2 inventory * Make it run even with no ec2.ini file * Fixing INI file reading * Refactor how defaults are handeled Define defaults in a dictionary and use .get rather than if statements with has_option * Removing double keys and fixing logic for instance_filter * Removing one more doubled key
* - Fix to return error message back to the module. (#31035)Kedar K2017-09-293-8/+48
|
* atomic: PEP8 compliancy and doc fixes (#30918)Dag Wieers2017-09-293-50/+38
| | | | | This PR includes: - PEP8 compliancy fixes - Documentation fixes
* change be to exist in the docsyaacov2017-09-291-1/+1
|
* make the list of tags more meaningfulyaacov2017-09-291-7/+34
|
* add a state list optionyaacov2017-09-291-10/+32
|
* inline trivial calc url methodyaacov2017-09-291-9/+4
|
* use the is_changed? paradigm, following example from other modulesyaacov2017-09-291-31/+34
|
* move manageiq_entities to module utilsyaacov2017-09-292-11/+11
|
* Add new module manageiq_tagsyaacov2017-09-291-0/+258
|
* win_chocolately document improvedments, mention win_hotfix and use of become ↵jhawkesworth2017-09-291-2/+12
| | | | (#31085)
* cloudstack: cs_template: remove dependency to CloudStackExceptionRene Moser2017-09-292-211/+153
| | | | | * fixes docs * fixes pep8
* kubernetes: PEP8 compliancy and doc fixes (#30914)Dag Wieers2017-09-292-53/+46
| | | | | This PR includes: - PEP8 compliancy fixes - Documentation fixes
* Fix ec2_win_password to allow blank key_passphrase (#28791)jonjozwiak2017-09-281-1/+4
|
* fixed winrm to use proper task vars (#31072)Brian Coca2017-09-292-13/+9
| | | | | | it avoids hitting hostvars templating issue and ignoring exception fixes #30911 also normal var precedence should work for ansible_winrm vars
* Use the group-d1 moId instead of i8ln based names to identify the root ↵jctanner2017-09-281-1/+1
| | | | | folder. (#31077) Addresses #29043
* Reduce chance of mistakes with unsafe_shell check during refactorToshio Kuratomi2017-09-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | Code like this: if cond1 and cond2: pass elif cond1: pass Has a hidden dependency on the order that the conditions are checked. This makes them fragile and subject to breakage during refactors. Rewrite the code like this: if cond1: if cond2: pass else: pass The nested structure makes the ordering explicit and less likely for someone to break the code when they refactor.
* os_keystone_endpoint.py (#29031)Alberto Murillo2017-09-281-0/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add os_keystone_service_endpoint This patch adds a new Ansible module which allows a user to create an endpoint to a service with Keystone. Fixes #23909 * os_keystone_endpoint: Fix style and messages Fix comments, pep8, version, metadata, license header and imports according to the Contributing Modules Checklist Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Fix return values - Change type of 'endpoint' return value from dictionary to complex in order to get validate_module checks passed. - Remove 'id' from the return data since it is included inside the 'endpoint' value wich is already being returned. - Rename 'service' field to 'service_id' which is the correct name for the service id field returned in json. Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Update shade version Update minimum shade version to 1.11.0 Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Make region optional Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Validate service exists before using service.id Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Fix documentation for service to accept name or id Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Pass the full service object to create_endpoint() We already have the service object retrieved in code, by passing service.id to create_endpoint, the shade librarie queries the api again to get the full service object. By Passing the already rerieved service object to create_endpoint() we save one request to the API. Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com> * os_keystone_endpoint: Make type explicit in module arguments. Althoug type is default to str when not specified in module arguments this commit explicitly defines type='str' for better readability. Signed-off-by: Alberto Murillo <albertomurillosilva@gmail.com>
* Fix aws_s3 connection exception handling (#30955)Will Thames2017-09-281-3/+2
| | | | `ProfileNotFound` does not have a `response` attribute, and `NoCredentialsError` does not occur at connection creation time.