Commit Graph

24860 Commits (2ff3a8d35fd7a5dda704fdc8c9081f81933a661b)
 

Author SHA1 Message Date
John R Barker 5945b19ad3 double quotes for consistency 8 years ago
John R Barker 1d00dd80f1 Need to quote if there is a `:` 8 years ago
Ben Tomasik 0de338824a Set suspend_processes version_added to 2.3 8 years ago
Ben Tomasik f2af5b8664 Add support for suspending scaling processes Ref: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html 8 years ago
Sam Doran f71134cb98 Change example syntax on template module 8 years ago
Sam Doran a1b945a23e > Change example syntax on synchronize module 8 years ago
Sam Doran 065749ee2a Change example syntax on stat module 8 years ago
Sam Doran d3e7d4f469 Change example syntax on replace module 8 years ago
Sam Doran 25f6f36a92 Change examples syntax on lineinfile module 8 years ago
Sam Doran 1923666b22 Change examples syntax on ini_file module 8 years ago
Sam Doran ba76df1af1 Change examples syntax on find module 8 years ago
Sam Doran 0c46813871 Change examples syntax on file module 8 years ago
Sam Doran 6ea87c583b Change examples syntax on fetch module 8 years ago
Sam Doran 532c77849a Change examples syntax on copy module 8 years ago
Sam Doran 8f097580ec Change examples syntax on assemble module 8 years ago
Sam Doran c694fe6ca4 Change examples syntax on acl module 8 years ago
Sam Doran 6d06f80097 Change examples syntax on postgresql_user module 8 years ago
Sam Doran 13c827a31c Change examples syntax on postgresql_privs module 8 years ago
Sam Doran 8edd2673b2 > Change examples syntax on postgresql_db module 8 years ago
Sam Doran e0cfe14901 Change examples syntax on mysql_variables module 8 years ago
Sam Doran db723af8aa Change examples syntax on mysql_user module 8 years ago
Sam Doran 119a767cd2 Change examples syntax on mysql_db module 8 years ago
Sam Doran 079bf05ec3 Change examples syntax on shell module 8 years ago
Sam Doran 60a92eadd7 Change examples syntax on script module 8 years ago
Brian Coca 847cc0a1ec Revert "stat: doc: add version for new returns" 8 years ago
Brian Coca 50c9a276d7 added file flags/attributes to stat (#5358)
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
8 years ago
Gyorgy Szombathelyi 33ef72b584 Ini_file: fix regression with the create option
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
8 years ago
René Moser c8da9b012b stat: doc: add version for new returns (#5594) 8 years ago
Fabio Alessandro Locati 2cacc3e787 Use native YAML (#5571) 8 years ago
einarc 22df46d168 Avoid `TypeError` when desired_capacity is not provided to `ec2_asg` module (#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 @
8 years ago
Patrick F. Marques dc4cff7350 Remove duplicated option from examples 8 years ago
Zaius Dr d8c21b153d Improve `ec2` module Python3 Support (#5497)
Imported six module from ansible module_utils for backwards compatibility.
8 years ago
Lars Van Casteren 0a435058a5 Docs update for `os_security_group` (#5531)
The example used equal characters and not colon characters.
8 years ago
Andrew Gaffney 2ef59561ba Fix bare variable references in docs (#5554) 8 years ago
Ryan Brown e45e25c257 Fix `cloudformation` error when stack-rollback fails (#5550)
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.
8 years ago
Ryan S. Brown bf9077bfad Fix doc examples for `ec2_elb_lb` module
The examples had the listeners as a list item for each param, when they
really need to be their own objects.
8 years ago
Ryan S. Brown 5dd9372ff8 Fail gracefully in `ec2_asg` module when there are no matching launch configurations 8 years ago
jctanner 06e1141106 replace type() with isinstance() (#5541)
Replace all use of type() with isintance()

Addresses https://github.com/ansible/ansible/issues/18310
8 years ago
Ryan S. Brown 2744fde7c9 Fix link in `cloudformation` module docs 8 years ago
Sean Summers 59b11be65d added requires for botocore with RoleARN support
Added a requires for the minimum botocore version required to support RoleARN
8 years ago
Sean Summers 67934ac7db add role_arn to support Service Role
Add `role_arn` to support [AWS CloudFormation Service Role](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html)
8 years ago
jctanner 019acfa9b0 Correct the handling of state=latest for yum groups. (#4141)
* Correct the handling up state=latest for yum groups.
* Use yum-deprecated when available

Fixes #4119
8 years ago
Jason Cormie 9baca6ef3d Addition of InstanceUUID to facts (#4424)
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.
8 years ago
Yair Fried 7eeb3445a4 Expose internal_network in os_floating_ip (#5510)
* 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
8 years ago
mrLarbi 3bee788b72 ios_config : Set multiline_delimiter version to 2.3 (#5525) 8 years ago
Peter Sprygada 7d374689ad roll up of more fixes for ios_config multiline banners (#5524)
* now works for any banner in the config
* provides a configurable delimiter

link #5318
8 years ago
bdowling ddd13bf53a ios_mods - added stdout to exception output. Removed to_lines() (#5428)
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
8 years ago
Michael Scherer 6806965bda Add no_log on password argument
Also do not use a wildcard import, for later refactoring
8 years ago
mickael-ange 23eba8fd97 Added aws and ec2 extends_documentation_fragment to cloud/amazon/rds module. (#3951) 8 years ago
Abel Boldú 6077028560 Add uplink provider type (#5282) 8 years ago