summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "stat: doc: add version for new returns"revert-5594-doc/statBrian Coca2016-11-141-3/+3
|
* added file flags/attributes to stat (#5358)Brian Coca2016-11-141-18/+48
| | | | | | depends on http://github.com/ansible/ansible/issue/18213 also documented return version of fields added in 2.2 added get_mime to keep consistency changed default mime behaviour
* Fixes: #4516 add placement_group argument for ec2_asg module (#5506)Ryan Brown2016-11-141-0/+9
|\
| * Fixes: #4516 add placement_group argument for ec2_asg moduleEduard Iskandarov2016-11-061-0/+9
| |
* | Ini_file: fix regression with the create optionGyorgy Szombathelyi2016-11-141-4/+4
| | | | | | | | | | | | | | | | The new create option with the default value 'no' changes the behavior from the previous Ansible releases. Change the default to 'yes' to create missing ini files by default. Fixes: #5488
* | stat: doc: add version for new returns (#5594)René Moser2016-11-141-3/+3
| |
* | Use native YAML (#5571)Fabio Alessandro Locati2016-11-111-6/+19
| |
* | Avoid `TypeError` when desired_capacity is not provided to `ec2_asg` module ↵einarc2016-11-111-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#5501) Moving the "check if min_size/max_size/desired_capacity..." code to execute BEFORE the desired_capacity code is used in the following operation: num_new_inst_needed = desired_capacity - len(new_instances) Otherwise the following exception occurs when desired_capacity is not specified and you're replacing instances: num_new_inst_needed = desired_capacity - len(new_instances) TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' Stack Trace: An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/var/lib/awx/.ansible/tmp/ansible-tmp-1478229985.74-62334493713074/ec2_asg", line 3044, in <module> main() File "/var/lib/awx/.ansible/tmp/ansible-tmp-1478229985.74-62334493713074/ec2_asg", line 3038, in main replace_changed, asg_properties=replace(connection, module) File "/var/lib/awx/.ansible/tmp/ansible-tmp-1478229985.74-62334493713074/ec2_asg", line 2778, in replace num_new_inst_needed = desired_capacity - len(new_instances) TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "ec2_asg"}, "module_stderr": "Traceback (most recent call last):\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1478229985.74-62334493713074/ec2_asg\", line 3044, in <module>\n main()\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1478229985.74-62334493713074/ec2_asg\", line 3038, in main\n replace_changed, asg_properties=replace(connection, module)\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1478229985.74-62334493713074/ec2_asg\", line 2778, in replace\n num_new_inst_needed = desired_capacity - len(new_instances)\nTypeError: unsupported operand type(s) for -: 'NoneType' and 'int'\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false} to retry, use: --limit @
* | Remove duplicated option from examplesPatrick F. Marques2016-11-111-1/+0
| |
* | Improve `ec2` module Python3 Support (#5497)Zaius Dr2016-11-111-5/+7
| | | | | | Imported six module from ansible module_utils for backwards compatibility.
* | Docs update for `os_security_group` (#5531)Lars Van Casteren2016-11-111-8/+8
| | | | | | The example used equal characters and not colon characters.
* | Fix bare variable references in docs (#5554)Andrew Gaffney2016-11-109-10/+10
| |
* | Fix `cloudformation` error when stack-rollback fails (#5550)Ryan Brown2016-11-101-1/+1
| | | | | | | | | | | | | | | | | | In cases where a CFN stack could not complete (due to lack of permissions or similar) but also failed to roll back, the gathering of stack resources would fail because successfully deleted items in the rollback would no longer have a `PhysicalResourceId` property. This PR fixes that by soft-failing when there's no physical ID associated to a resource.
* | Fix doc examples for `ec2_elb_lb` moduleRyan S. Brown2016-11-101-10/+10
| | | | | | | | | | The examples had the listeners as a list item for each param, when they really need to be their own objects.
* | Fail gracefully in `ec2_asg` module when there are no matching launch ↵Ryan S. Brown2016-11-101-0/+2
| | | | | | | | configurations
* | replace type() with isinstance() (#5541)jctanner2016-11-097-17/+17
| | | | | | | | | | Replace all use of type() with isintance() Addresses https://github.com/ansible/ansible/issues/18310
* | Fix link in `cloudformation` module docsRyan S. Brown2016-11-091-3/+1
| |
* | added requires for botocore with RoleARN supportSean Summers2016-11-091-0/+1
| | | | | | Added a requires for the minimum botocore version required to support RoleARN
* | add role_arn to support Service RoleSean Summers2016-11-091-0/+26
| | | | | | Add `role_arn` to support [AWS CloudFormation Service Role](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html)
* | Correct the handling of state=latest for yum groups. (#4141)jctanner2016-11-081-3/+13
| | | | | | | | | | | | | | | | | | * Correct the handling up state=latest for yum groups. * Use yum-deprecated when available Fixes #4119
* | Addition of InstanceUUID to facts (#4424)Jason Cormie2016-11-081-0/+1
| | | | | | | | | | | | The Instance UUID(refered to as PersistenceUUID in the API) is a the ID vcenter uses to idenify VMs. My use case for this is that I configure Zabbix using ansible and its vmware module relies on using these to identify VMs.
* | Expose internal_network in os_floating_ip (#5510)Yair Fried2016-11-081-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Expose internal_network in os_floating_ip Shade project has finally exposed this argument so now this module matches old quantum_floatingip module's capabilities. Use "nat_destination" term instead of "internal_network" to match shade terminology. * Add (private|internal)_network aliases to os_floating_ip * Fix typo in os_floating_ip
* | ios_config : Set multiline_delimiter version to 2.3 (#5525)mrLarbi2016-11-081-1/+1
| |
* | roll up of more fixes for ios_config multiline banners (#5524)Peter Sprygada2016-11-071-7/+31
| | | | | | | | | | | | * now works for any banner in the config * provides a configurable delimiter link #5318
* | ios_mods - added stdout to exception output. Removed to_lines() (#5428)bdowling2016-11-072-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | stdout lines are now available when certain exceptions occur (Ref ansible/ansible#18241) Also noticed that to_lines was essentially handled in lib/ansible/plugins/action/__init__.py -- only difference was it didn't handle a list. to_lines() could be removed across network modules now, but this commit is only for ios_command. Also adds disconnect() to ios_command that was added to ios_config in #5247
* | Add no_log on password argumentMichael Scherer2016-11-071-4/+2
| | | | | | | | Also do not use a wildcard import, for later refactoring
* | Added aws and ec2 extends_documentation_fragment to cloud/amazon/rds module. ↵mickael-ange2016-11-071-1/+3
| | | | | | | | (#3951)
* | Add uplink provider type (#5282)Abel Boldú2016-11-071-2/+2
| |
* | Removes outdated "requirement" and outdated "note" (#5332)Michael Herold2016-11-061-5/+0
| | | | | | | | - 7f59773460d79b3dae34c375ba68caea1bfc09a8 no longer uses `ConfigParser` - 1d4c0abe2902d91b2895452feedcf72bf3dd9e20 removed the `import` statement
* | apt: fix changed when cache updated but not pkg (#5487)René Moser2016-11-061-6/+0
|/
* If fetch_url failed to download the URL fail early with a proper error ↵Matt Martz2016-11-051-0/+2
| | | | message. Fixes #5474 (#5476)
* Make service work when the service is not present in rc.confMichael Scherer2016-11-041-2/+4
| | | | | | | | | | After installing a package from the ports collection on a fresh FreeBSD 11.0, Ansible was unable to enable it, failing with "unable to get current rcvar value". Debugging showed that sysrc didn't see the variable from /usr/local/etc/rc.d/myservice, but adding the value was working. So we will just fallback to the default value if we can't find it.
* Support for named_ports in Managed Instance Groups. A libcloud guard has ↵Tom Melendez2016-11-041-0/+124
| | | | been implemented, as this feature will only be available in libcloud >= 1.3, or by using trunk. (#5167)
* Add update_password argument to os_user (#5219)Jesse Keating2016-11-041-7/+42
| | | | | | | | | | | There is a desire to not have this module always result in a change if a password argument is supplied. The OpenStack API does not return a password back when we get a user, so we've been assuming that if a password argument was supplied, we should attempt to change the password (even if nothing else is changing), and that results in a "changed" state. Now we will only send along a password change attempt if the user wants one (the default to match history). Fixes #5217
* Merge pull request #5461 from Cbeck527/develscottb2016-11-041-1/+4
|\ | | | | Add more specific language to apt_key description
| * Add more specific language to module description and examplesChris Becker2016-11-021-1/+4
| | | | | | | | | | | | * Add 'on the remote server' to `file` parameter description * Add example showing how to use the `file` parameter, with specific language about the file's location being on the 'remote server'
* | fixes problem when trying load banner into ios device (#5494)Peter Sprygada2016-11-031-6/+50
| | | | | | | | | | | | | | this fix will now handle loading a multiline banner on ios based devices without hanging. It separates the processing of banners from the remainder of the config link #5318
* | Re-add version_added to include_vars (#5493)jctanner2016-11-031-0/+1
| |
* | ios_facts module will no longer error on missing command (#5491)Peter Sprygada2016-11-031-60/+56
| | | | | | | | | | | | | | | | | | | | | | | | The module will error if it tries to use a cli command that is not available on a given platform. This fix will address that problem. If the cli command is not available, then the command is silently discarded and the facts that the command output is based on is not returned. Any failed commands are provided in the module return under the failed_commands key. This fix also updates the Examples docstring to make it consistent with other ios_* modules fixes #5444 fixes #5372
* | apt_repository: Relax PPA checks and add basename (#5432)Matt Robinson2016-11-031-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | Allow installation of PPA repositories on non-Ubuntu Debian derived distribution targets (e.g. neon, Mint, Debian itself) by removing the specific check for UbuntuDistribution before allowing PPA: format sources. This fixes the addition of PPA repositories under KDE neon (as the codenames match the base Ubuntu distribution). To make the functionality also useful under Mint and Debian which have different codenames to their Ubuntu upstream / downstream releases, add a 'codename' option to override the default used in the PPA source entry.
* | Simplify compileall checks. Remove py3 skip list.Matt Clay2016-11-024-5/+2
| |
* | fix the behavior that the dest is directoryzuiurs2016-11-021-6/+7
| | | | | | | | | | | | | | This fixes the behavior that the dest is directory, when we set the "force: no" argument. To be join the dest and the src's basename, before checking the "force" argument.
* | Add rebuild support to os_server_actions (#4289)Ricardo Carrillo Cruz2016-11-021-4/+29
| | | | | | Fixes #2714
* | Updated documentation for PR http://github.com/ansible/ansible/pull/17207Allen Sanabria2016-11-021-5/+47
|/
* dont join when group is noneBrian Coca2016-11-021-1/+4
|
* Correct typos in docs strings (#5233)John R Barker2016-11-022-3/+3
|
* Make the RDS endpoint available if AWS returns it. Fixes #3865 (#4143)Jamie Dyer2016-11-011-5/+5
|
* apt: update cache until corrupt package lists are fixed (#5448)jctanner2016-11-011-1/+28
| | | | | | | | | | * apt: If the cache object fails to lost due to a corrupt file, try to update the cache until it is fixed. * Append -q to the update parameters * Remove unused variable * Use a string that doesn't rely on internationalization * Use py24 exception style * Use get_exception Fixes #2951
* corrected version addedBrian Coca2016-11-012-3/+3
|
* added logout to docker_loginBrian Coca2016-11-011-27/+57
| | | | also cleaned up 'actions' and minor doc issues