Commit Graph

24773 Commits (4a967e7a1cd2f400b6a85efe91ed032199f7a118)
 

Author SHA1 Message Date
Sam Doran 66c92d5623 Change example syntax on rhn_register module 8 years ago
Sam Doran 25af0652b9 Change example syntax on rhn_subscription module 8 years ago
Sam Doran 3208cf5abf Change example syntax on redhat_subscription module 8 years ago
Sam Doran 6c16ab6ca8 Change example syntax on package module 8 years ago
Sam Doran ca12f5acac Change example syntax on apt_rpm module 8 years ago
Sam Doran e4978ea98d Change example syntax on apt_repository module 8 years ago
Sam Doran b2ffded3a7 Change example syntax on apt_key module 8 years ago
Sam Doran f8ce66cbde Change example syntax on apt module 8 years ago
Sam Doran c773539359 Change example syntax on group_by module 8 years ago
Sam Doran a97964a22d Change example syntax on add_host module 8 years ago
Sam Doran 385d34a3d7 Change example syntax on xattr module 8 years ago
Sam Doran c5921612d1 Change example syntax on unarchive module 8 years ago
Rezart Qelibari d7e9fbe631 Update system/group.py module.
Add ability to add system groups with next free system gid (< 500) on macOS.
8 years ago
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