Commit Graph

9759 Commits (db5076cd8a0013cf4ec7cda211e845213ea7475a)
 

Author SHA1 Message Date
Sam Doran db5076cd8a Change example syntax on rhn_subscription module 9 years ago
Sam Doran 8533529c2b Change example syntax on redhat_subscription module 9 years ago
Sam Doran 34fb8c3ec2 Change example syntax on package module 9 years ago
Sam Doran 3f224de12a Change example syntax on apt_rpm module 9 years ago
Sam Doran aa18bf8933 Change example syntax on apt_repository module 9 years ago
Sam Doran 5995bf27ba Change example syntax on apt_key module 9 years ago
Sam Doran 21f6aa076c Change example syntax on apt module 9 years ago
Sam Doran e5446db4b2 Change example syntax on group_by module 9 years ago
Sam Doran 0aeee0e7c2 Change example syntax on add_host module 9 years ago
Sam Doran b5f09cb9b0 Change example syntax on xattr module 9 years ago
Sam Doran c2db9fa414 Change example syntax on unarchive module 9 years ago
Rezart Qelibari a4cddac368 Update system/group.py module.
Add ability to add system groups with next free system gid (< 500) on macOS.
9 years ago
Ryan Brown f35be48335 Support suspending scaling processes in `ec2_asg` module (#5562)
* Add support for suspending scaling processes
Ref: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html

* Set suspend_processes version_added to 2.3
9 years ago
John R Barker d21ac8a5da Merge pull request #5604 from samdoran/examples-syntax-fix-batch1
Examples syntax change batch1
9 years ago
John R Barker 41893a859c Examples syntax change batch2 (#5605)
* Change examples syntax on copy module

* Change examples syntax on fetch module

* Change examples syntax on file module

* Change examples syntax on find module

* Change examples syntax on ini_file module

* Change examples syntax on lineinfile module

* Change example syntax on replace module

* Change example syntax on stat module

* > Change example syntax on synchronize module

* Change example syntax on template module
9 years ago
John R Barker 8c51545906 double quotes for consistency 9 years ago
John R Barker 80959112b5 Need to quote if there is a `:` 9 years ago
Sam Doran 2ae8840c2c Change example syntax on template module 9 years ago
Sam Doran cc8cdd9506 > Change example syntax on synchronize module 9 years ago
Sam Doran 15890a4626 Change example syntax on stat module 9 years ago
Sam Doran 5ac9e53f97 Change example syntax on replace module 9 years ago
Sam Doran 942eb37a54 Change examples syntax on lineinfile module 9 years ago
Sam Doran 83f42ecfd4 Change examples syntax on ini_file module 9 years ago
Sam Doran 939da41dbd Change examples syntax on find module 9 years ago
Sam Doran 52274a400f Change examples syntax on file module 9 years ago
Sam Doran 07d1c1c3f7 Change examples syntax on fetch module 9 years ago
Sam Doran 501403a164 Change examples syntax on copy module 9 years ago
Sam Doran 7fc150c33b Change examples syntax on assemble module 9 years ago
Sam Doran 5ef188bcf1 Change examples syntax on acl module 9 years ago
Sam Doran c20e4b12e3 Change examples syntax on postgresql_user module 9 years ago
Sam Doran 67c02b6346 Change examples syntax on postgresql_privs module 9 years ago
Sam Doran 605c4df078 > Change examples syntax on postgresql_db module 9 years ago
Sam Doran f3c132cc25 Change examples syntax on mysql_variables module 9 years ago
Sam Doran 800438a201 Change examples syntax on mysql_user module 9 years ago
Sam Doran 74f6c3f94a Change examples syntax on mysql_db module 9 years ago
Sam Doran 5fcd8ecf10 Change examples syntax on shell module 9 years ago
Sam Doran d9ff373cec Change examples syntax on script module 9 years ago
Brian Coca b28a9a9dd3 Revert "stat: doc: add version for new returns" (#5599) 9 years ago
Brian Coca 75411fa9e3 Revert "stat: doc: add version for new returns" 9 years ago
Brian Coca 88f1e67b1f 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
9 years ago
Ryan Brown 7828b1adc1 Fixes: #4516 add placement_group argument for ec2_asg module (#5506) 9 years ago
Gyorgy Szombathelyi 4863335cfa 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
9 years ago
René Moser 8c762d7b02 stat: doc: add version for new returns (#5594) 9 years ago
Fabio Alessandro Locati 1f0d62b36d Use native YAML (#5571) 9 years ago
einarc 8d1fe3b444 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 @
9 years ago
Patrick F. Marques afa1750105 Remove duplicated option from examples 9 years ago
Zaius Dr 135c70bdd8 Improve `ec2` module Python3 Support (#5497)
Imported six module from ansible module_utils for backwards compatibility.
9 years ago
Lars Van Casteren 00e64def78 Docs update for `os_security_group` (#5531)
The example used equal characters and not colon characters.
9 years ago
Ben Tomasik af645041e5 Set suspend_processes version_added to 2.3 9 years ago
Ben Tomasik f4bd008184 Add support for suspending scaling processes
Ref: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html
9 years ago