Commit Graph

24979 Commits (4c2295577a2fea997bce3840fec826236e26f940)
 

Author SHA1 Message Date
Sam Doran 1c801ac574 Change example syntax on git module 8 years ago
Sam Doran 2bb5ab9776 Change example syntax on pip module 8 years ago
Sam Doran d42f73f5e9 Change example syntax on gem module 8 years ago
Sam Doran 8a1bd4178a Change example syntax on easy_install module 8 years ago
Sam Doran 4c93d3edf0 Change example syntax on yum module 8 years ago
Sam Doran ea3c8ee406 Change example syntax on rpm_key module 8 years ago
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