You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs/docsite/README.md

177 lines
8.5 KiB
Markdown

Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
Ansible documentation
=====================
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
This project hosts the source behind [docs.ansible.com](https://docs.ansible.com/).
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
To create clear, concise, consistent, useful materials on docs.ansible.com, please refer to the following information.
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
About Ansible
-------------
Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Learn more about Ansible [here](https://docs.ansible.com/ansible/latest/index.html).
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
To install Ansible, see the [Installation Guide](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html).
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
The following sections provide information and resources on contributing to Ansible documentation.
Contributions
=============
Ansible documentation is written in ReStructuredText(RST). Contributions to the documentation are welcome.
The Ansible community produces guidance on contributions, building documentation, and submitting pull requests, which you can find in [Contributing to the Ansible Documentation](https://docs.ansible.com/ansible/latest/community/documentation_contributions.html).
Filing issues
-------------
If you do not want to learn the reStructuredText format, you can also [file issues] about documentation problems on the Ansible GitHub project.
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
Editing docs directly on GitHub
-------------------------------
For typos and other quick fixes, you can edit the documentation right from the site. See [Editing docs directly on GitHub](https://docs.ansible.com/ansible/devel/community/documentation_contributions.html#editing-docs-directly-on-github) for more information.
Ansible style guide
===================
To create clear, concise, consistent, useful materials on docs.ansible.com, follow the guidelines found in the [Ansible Style Guide](https://docs.ansible.com/ansible/latest/dev_guide/style_guide/index.html#linguistic-guidelines).
reStructuredText
----------------
The Ansible style guide also includes useful guidelines on writing in reStructuredText. Please see the style guide for reStructuredText formatting guidelines for:
* header notation
* internal navigation
* linking
* local table of contents
Tools
=====
The Ansible community provides resources on tools used to write, test, and build documentation. In this section you will find some helpful links and workflow recommendations to get started writing or editing documentation.
Popular editors
---------------
The Ansible community uses a range of tools for working with the Ansible project. Find a list of some of the most popular of these tools [here](https://docs.ansible.com/ansible/latest/community/other_tools_and_programs.html#popular-editors).
Building documentation
----------------------
Building the documentation is the best way to check for errors and review your changes. Ansible documentation is built using Sphinx. For resources on Sphinx and building documentation, see [building the documentation locally](https://docs.ansible.com/ansible/latest/community/documentation_contributions.html#building-the-documentation-locally) in the Ansible Community Guide.
Github
------
[Ansible documentation](https://github.com/ansible/ansible/tree/devel/docs/docsite) is hosted on the Ansible Github project.
The following sections describe the workflows required to start developing or submit changes to Ansible documentation.
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
## Setting up Git
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
GitHub provides a set of [Git cheatsheets](https://github.github.com/training-kit/) in multiple languages.
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
1. First [Install Git](https://help.github.com/en/articles/set-up-git)
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
2. Perform the initial Git setup tasks, as described in [First Time Git Setup](link:https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup).
3. Navigate to https://github.com/ansible/ansible and [create a fork](https://help.github.com/en/articles/fork-a-repo). This will create your own version of the repository which you can find at https://github.com/{yourusername}/ansible where {yourusername} is the username you created in GitHub.
4. [Clone](https://help.github.com/en/articles/cloning-a-repository) from your fork to create a copy on your local machine.
NOTE: It is possible to clone using SSH so you don't have to enter a username/password every time you push. Find instructions at [Connecting to GitHub with SSH](https://help.github.com/articles/connecting-to-github-with-ssh/) and [Which Remote URL Should I Use](https://help.github.com/articles/which-remote-url-should-i-use/). When using SSH, the origin lines will appear like this:
`git@github.com:{yourusername}/ansible.git`
```
$ git clone git@github.com:{yourusername}/ansible.git
```
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
5. Navigate to the new directory by entering the following from the command line on your local machine:
```
$ cd {repository-name}
```
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
6. Add a git remote to your local repository to link to the upstream version of the documentation. This makes it easier to update your fork and local version of the documentation.
```
$ git remote add upstream git://github.com/ansible/ansible.git
```
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
7. Check your settings.
```
$ git remote -v
origin https://github.com/{YOUR_USERNAME}/{YOUR_FORK}.git (fetch)
origin https://github.com/{YOUR_USERNAME}/{YOUR_FORK}.git (push)
upstream https://github.com/{ORIGINAL_OWNER}/{ORIGINAL_REPOSITORY}.git (fetch)
upstream https://github.com/{ORIGINAL_OWNER}/{ORIGINAL_REPOSITORY}.git (push)
```
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
## Creating a topic branch
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
Create a topic branch for new documentation submissions or larger changes.
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
1. Fetch updates from ``origin``:
```
$ git fetch origin
```
2. Checkout a new branch based on ``devel``:
```
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
$ git checkout -b {branch name}
```
3. Create new documents or make changes to existing files.
4. Add new or changed files:
```
$ git add {file name}
```
5. Commit your changes or additions. Be sure to include a commit message:
```
$ git commit -m "new message"
```
6. Push your updates back to `origin`:
```
$ git push -u origin {branch name}
```
Once you have completed this workflow, it is a good idea to build the documentation and ensure everything is correct and that it works. As a contributor, you are required to prove that See [building the documentation locally](https://docs.ansible.com/ansible/latest/community/documentation_contributions.html#building-the-documentation-locally) in the Ansible Community Guide for more on building documentation.
When final additions or changes are pushed back to your fork you can open a pull request (PR).
Working with pull requests (PRs)
--------------------------------
Pull requests represent the stage in a contribution where you are ready to submit your work for review and inclusion in the documentation. When a PR is opened, a reviewer will check the work and potentially open a dialog around your proposed changes. PRs should include specific information, which you can find in [Opening a new issue and/or PR](https://docs.ansible.com/ansible/latest/community/documentation_contributions.html#opening-a-new-issue-and-or-pr) in the Ansible Community Guide.
## Creating a pull request
1. Navigate to your personal fork: https://github.com/{yourusername}/ansible
2. Click **Pull requests** and then click **New pull requests**.
3. Use the drop-down menus, set the **base repository** to the stable branch and set the **head repository** to your topic branch.
4. Apply appropriate labels. Include **backport** and **documentation**.
6. Fill in the PR summary using the following template:
```
##### SUMMARY
##### ISSUE TYPE
##### COMPONENT NAME
docs.ansible.com
##### ANSIBLE VERSION
##### ADDITIONAL INFORMATION
```
NOTE:
If you put 'closes <issuenumber> ' in the summary, ansible will automatically close the issue on merge.
7. Click **Create pull request**.
A reviewer will evaluate your contribution. They may open a dialog around the PR and suggest revisions or, if the PR meets acceptance criteria, will merge it to the base branch.
## Backporting a pull request
All Ansible PRs must be merged to the `devel` branch first. Most users may, however, use a prior stable branch. Evaluate your pull request to determine if it applies to a prior branch.
See [Backporting merged PRs](https://docs.ansible.com/ansible/devel/community/development_process.html?highlight=backport#backporting-merged-prs) for a complete worklfow.
## Other Git workflows
Backport/2.9/docs (#64073) * clarify no subfolders and md only for collections /docs folder (#63808) (cherry picked from commit 6a2902c8d55f366bd577436effa2426b04ce65ee) * Fixed example error in windows_winrm user guide (#63922) The example code to configure TLS 1.2 Support using Ansible had an indention error. The register variable 'enable_tls12' was not indented. This caused the subsequent task to fail since the variable was not registered. (cherry picked from commit c562e17659abefce44a5e64fd798e6000b84a6f7) * Fix doc errors in AWS modules (#63851) * Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module (cherry picked from commit e4f16368ed8060dd7a15a0078b4a21fb86d85baf) * Update documentation for package module (#63909) It is not clear from the documentation that list can be used (cherry picked from commit 7f2c367d78c1773e5e908e31196fd07a698db9ee) * [ec2_launch_template] Update description of state param (#63147) Currently, it is not possible to delete specific versions of an ec2 launch template. The module docs incorrectly suggest that there is a `version` param to the module that can be used to do that. This patch aims to correct that error. (cherry picked from commit 7ea72607534ce996c311c17ee4c6aaf83989ae9e) * template: Add a space in example block (#63930) (cherry picked from commit f279715c29530c9148616a5c3fa5af846586cb18) * revisions to docsite README (#63957) (cherry picked from commit 5c962ef859b37ac3a9707a3e1ac88f4b34b78038) * combine galaxy.com install roles details (#63486) (cherry picked from commit ee8a0882054b7f633cd8bc075ffc61b8eb136d4b) * Correct a typo (#64020) (cherry picked from commit 18f4f0549faabefbd0457cde0dd86b0d0fed406b) * Update password.py (#63965) Update the examples of the password lookup plugin to show how multiple options are joined together. (cherry picked from commit 92daec5d0bce5dfbb73fda52910de2a74d59fa7e) * Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was (cherry picked from commit 1e52782d6ba6e3e2c9d140ec47558c034f0d394f) * add newline to render table correctly (#63769) (cherry picked from commit 1aee11c86026e8493ce9acba30175fadcd6dc70f) * clarified some points on environment keyword usage (#64065) (cherry picked from commit 885ee62b53247bc0985bfb12a39149d7ab9d3f2d)
5 years ago
In addition to creating a pull request and backporting, other workflows exist to help keep your topic branches and pull requests up-to-date. See the [Developer Guide](https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html) on `git rebase` to learn more about rebasing a pull request.