summaryrefslogtreecommitdiffstats
path: root/ansible_collections/amazon/aws/.github
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/amazon/aws/.github')
-rw-r--r--ansible_collections/amazon/aws/.github/BOTMETA.yml1
-rw-r--r--ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/bug_report.yml301
-rw-r--r--ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/ci_report.yml123
-rw-r--r--ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/config.yml44
-rw-r--r--ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/documentation_report.yml237
-rw-r--r--ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/feature_request.yml113
-rw-r--r--ansible_collections/amazon/aws/.github/actions/ansible_release_log/action.yml56
-rw-r--r--ansible_collections/amazon/aws/.github/actions/ansible_release_tag/action.yml40
-rw-r--r--ansible_collections/amazon/aws/.github/settings.yml3
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/all_green_check.yml40
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/ansible-bot.yml18
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/changelog.yml22
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/docs-pr.yml4
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/docs-push.yml5
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/linters.yml11
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/release-manual.yml36
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/release-tag.yml33
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/sanity.yml8
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/units.yml8
-rw-r--r--ansible_collections/amazon/aws/.github/workflows/update-variables.yml16
20 files changed, 703 insertions, 416 deletions
diff --git a/ansible_collections/amazon/aws/.github/BOTMETA.yml b/ansible_collections/amazon/aws/.github/BOTMETA.yml
index 1efbcc4c4..f4045bcd6 100644
--- a/ansible_collections/amazon/aws/.github/BOTMETA.yml
+++ b/ansible_collections/amazon/aws/.github/BOTMETA.yml
@@ -1,3 +1,4 @@
+---
automerge: false
files:
maintainers: $team_aws
diff --git a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/bug_report.yml b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/bug_report.yml
index c818de3e0..9e400e77d 100644
--- a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -3,159 +3,158 @@ name: Bug report
description: Create a report to help us improve
body:
-- type: markdown
- attributes:
- value: |
- ⚠
- Verify first that your issue is not [already reported on GitHub][issue search].
- Where possible also test if the latest release and main branch are affected too.
- *Complete **all** sections as described, this form is processed automatically.*
-
- [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
-
-- type: textarea
- attributes:
- label: Summary
- description: |
- Explain the problem briefly below.
- placeholder: >-
- When I try to do X with the collection from the main branch on GitHub, Y
- breaks in a way Z under the env E. Here are all the details I know
- about this problem...
- validations:
- required: true
-
-- type: dropdown
- attributes:
- label: Issue Type
- # FIXME: Once GitHub allows defining the default choice, update this
- options:
- - Bug Report
- validations:
- required: true
-
-- type: textarea
- attributes:
+ - type: markdown
+ attributes:
+ value: |
+ ⚠
+ Verify first that your issue is not [already reported on GitHub][issue search].
+ Where possible also test if the latest release and main branch are affected too.
+ *Complete **all** sections as described, this form is processed automatically.*
+
+ [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
+
+ - type: textarea
+ attributes:
+ label: Summary
+ description: |
+ Explain the problem briefly below.
+ placeholder: >-
+ When I try to do X with the collection from the main branch on GitHub, Y
+ breaks in a way Z under the env E. Here are all the details I know
+ about this problem...
+ validations:
+ required: true
+
+ - type: dropdown
+ attributes:
+ label: Issue Type
+ # FIXME: Once GitHub allows defining the default choice, update this
+ options:
+ - Bug Report
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
# For smaller collections we could use a multi-select and hardcode the list
# May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
# Select from list, filter as you type (`mysql` would only show the 3 mysql components)
# OR freeform - doesn't seem to be supported in adaptivecards
- label: Component Name
- description: >-
- Write the short name of the module or plugin below,
- *use your best guess if unsure*.
- placeholder: ec2_instance, ec2_security_group
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: Ansible Version
- description: >-
- Paste verbatim output from `ansible --version` between
- tripple backticks.
- value: |
- ```console (paste below)
- $ ansible --version
-
- ```
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: Collection Versions
- description: >-
- Paste verbatim output from `ansible-galaxy collection list` between
- tripple backticks.
- value: |
- ```console (paste below)
- $ ansible-galaxy collection list
- ```
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: AWS SDK versions
- description: >-
- The AWS modules depend heavily on the Amazon AWS SDKs which are regularly updated.
- Paste verbatim output from `pip show boto boto3 botocore` between quotes
- value: |
- ```console (paste below)
- $ pip show boto boto3 botocore
- ```
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: Configuration
- description: >-
- If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
- This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
-
- Paste verbatim output from `ansible-config dump --only-changed` between quotes
- value: |
- ```console (paste below)
- $ ansible-config dump --only-changed
-
- ```
-
-- type: textarea
- attributes:
- label: OS / Environment
- description: >-
- Provide all relevant information below, e.g. target OS versions,
- network device firmware, etc.
- placeholder: RHEL 8, CentOS Stream etc.
- validations:
- required: false
-
-- type: textarea
- attributes:
- label: Steps to Reproduce
- description: |
- Describe exactly how to reproduce the problem, using a minimal test-case. It would *really* help us understand your problem if you could also paste any playbooks, configs and commands you used.
-
- **HINT:** You can paste https://gist.github.com links for larger files.
- value: |
- <!--- Paste example playbooks or commands between quotes below -->
- ```yaml (paste below)
-
- ```
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: Expected Results
- description: >-
- Describe what you expected to happen when running the steps above.
- placeholder: >-
- I expected X to happen because I assumed Y.
- that it did not.
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: Actual Results
- description: |
- Describe what actually happened. If possible run with extra verbosity (`-vvvv`).
-
- Paste verbatim command output between quotes.
- value: |
- ```console (paste below)
-
- ```
-
-- type: checkboxes
- attributes:
- label: Code of Conduct
- description: |
- Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
- options:
- - label: I agree to follow the Ansible Code of Conduct
+ label: Component Name
+ description: >-
+ Write the short name of the module or plugin below,
+ *use your best guess if unsure*.
+ placeholder: ec2_instance, ec2_security_group
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Ansible Version
+ description: >-
+ Paste verbatim output from `ansible --version` between
+ tripple backticks.
+ value: |
+ ```console (paste below)
+ $ ansible --version
+
+ ```
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Collection Versions
+ description: >-
+ Paste verbatim output from `ansible-galaxy collection list` between
+ tripple backticks.
+ value: |
+ ```console (paste below)
+ $ ansible-galaxy collection list
+ ```
+ validations:
required: true
-...
+
+ - type: textarea
+ attributes:
+ label: AWS SDK versions
+ description: >-
+ The AWS modules depend heavily on the Amazon AWS SDKs which are regularly updated.
+ Paste verbatim output from `pip show boto boto3 botocore` between quotes
+ value: |
+ ```console (paste below)
+ $ pip show boto boto3 botocore
+ ```
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Configuration
+ description: >-
+ If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
+ This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
+
+ Paste verbatim output from `ansible-config dump --only-changed` between quotes
+ value: |
+ ```console (paste below)
+ $ ansible-config dump --only-changed
+
+ ```
+
+ - type: textarea
+ attributes:
+ label: OS / Environment
+ description: >-
+ Provide all relevant information below, e.g. target OS versions,
+ network device firmware, etc.
+ placeholder: RHEL 8, CentOS Stream etc.
+ validations:
+ required: false
+
+ - type: textarea
+ attributes:
+ label: Steps to Reproduce
+ description: |
+ Describe exactly how to reproduce the problem, using a minimal test-case. It would *really* help us understand your problem if you could also paste any playbooks, configs and commands you used.
+
+ **HINT:** You can paste https://gist.github.com links for larger files.
+ value: |
+ <!--- Paste example playbooks or commands between quotes below -->
+ ```yaml (paste below)
+
+ ```
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Expected Results
+ description: >-
+ Describe what you expected to happen when running the steps above.
+ placeholder: >-
+ I expected X to happen because I assumed Y.
+ that it did not.
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
+ label: Actual Results
+ description: |
+ Describe what actually happened. If possible run with extra verbosity (`-vvvv`).
+
+ Paste verbatim command output between quotes.
+ value: |
+ ```console (paste below)
+
+ ```
+
+ - type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
diff --git a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/ci_report.yml b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/ci_report.yml
index aceb2ec89..983436a46 100644
--- a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/ci_report.yml
+++ b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/ci_report.yml
@@ -3,74 +3,73 @@ name: CI Bug Report
description: Create a report to help us improve our CI
body:
-- type: markdown
- attributes:
- value: |
- ⚠
- Verify first that your issue is not [already reported on GitHub][issue search].
- *Complete **all** sections as described, this form is processed automatically.*
+ - type: markdown
+ attributes:
+ value: |
+ ⚠
+ Verify first that your issue is not [already reported on GitHub][issue search].
+ *Complete **all** sections as described, this form is processed automatically.*
- [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
+ [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
-- type: textarea
- attributes:
- label: Summary
- description: |
- Describe the new issue briefly below.
- placeholder: >-
- I opened a Pull Request and CI failed to run. I believe this is due to a problem with the CI rather than my code.
- validations:
- required: true
+ - type: textarea
+ attributes:
+ label: Summary
+ description: |
+ Describe the new issue briefly below.
+ placeholder: >-
+ I opened a Pull Request and CI failed to run. I believe this is due to a problem with the CI rather than my code.
+ validations:
+ required: true
-- type: dropdown
- attributes:
- label: Issue Type
- # FIXME: Once GitHub allows defining the default choice, update this
- options:
- - CI Bug Report
- validations:
- required: true
+ - type: dropdown
+ attributes:
+ label: Issue Type
+ # FIXME: Once GitHub allows defining the default choice, update this
+ options:
+ - CI Bug Report
+ validations:
+ required: true
-- type: textarea
- attributes:
- label: CI Jobs
- description: >-
- Please provide a link to the failed CI tests.
- placeholder: https://dashboard.zuul.ansible.com/t/ansible/buildset/be956faa49d84e43bc860d0cd3dc8503
- validations:
- required: false
+ - type: textarea
+ attributes:
+ label: CI Jobs
+ description: >-
+ Please provide a link to the failed CI tests.
+ placeholder: https://dashboard.zuul.ansible.com/t/ansible/buildset/be956faa49d84e43bc860d0cd3dc8503
+ validations:
+ required: false
-- type: textarea
- attributes:
- label: Pull Request
- description: >-
- Please provide a link to the Pull Request where the tests are failing
- placeholder: https://github.com/ansible-collections/amazon.aws/runs/3040421733
- validations:
- required: false
+ - type: textarea
+ attributes:
+ label: Pull Request
+ description: >-
+ Please provide a link to the Pull Request where the tests are failing
+ placeholder: https://github.com/ansible-collections/amazon.aws/runs/3040421733
+ validations:
+ required: false
-- type: textarea
- attributes:
- label: Additional Information
- description: |
- Please provide as much information as possible to help us understand the issue being reported.
- Where possible, please include the specific errors that you're seeing.
+ - type: textarea
+ attributes:
+ label: Additional Information
+ description: |
+ Please provide as much information as possible to help us understand the issue being reported.
+ Where possible, please include the specific errors that you're seeing.
- **HINT:** You can paste https://gist.github.com links for larger files.
- value: |
- <!--- Paste example playbooks or commands between quotes below -->
- ```yaml (paste below)
+ **HINT:** You can paste https://gist.github.com links for larger files.
+ value: |
+ <!--- Paste example playbooks or commands between quotes below -->
+ ```yaml (paste below)
- ```
- validations:
- required: false
+ ```
+ validations:
+ required: false
-- type: checkboxes
- attributes:
- label: Code of Conduct
- description: |
- Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
- options:
- - label: I agree to follow the Ansible Code of Conduct
- required: true
-...
+ - type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
diff --git a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/config.yml b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/config.yml
index f90bd1ad8..b13f5e748 100644
--- a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/config.yml
+++ b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/config.yml
@@ -1,27 +1,27 @@
---
# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
-blank_issues_enabled: false # default: true
+blank_issues_enabled: false # default: true
contact_links:
-- name: Security bug report
- url: https://docs.ansible.com/ansible-core/devel/community/reporting_bugs_and_features.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
- about: |
- Please learn how to report security vulnerabilities here.
+ - name: Security bug report
+ url: https://docs.ansible.com/ansible-core/devel/community/reporting_bugs_and_features.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
+ about: |
+ Please learn how to report security vulnerabilities here.
- For all security related bugs, email security@ansible.com
- instead of using this issue tracker and you will receive
- a prompt response.
+ For all security related bugs, email security@ansible.com
+ instead of using this issue tracker and you will receive
+ a prompt response.
- For more information, see
- https://docs.ansible.com/ansible/latest/community/reporting_bugs_and_features.html
-- name: Ansible Code of Conduct
- url: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
- about: Be nice to other members of the community.
-- name: Talks to the community
- url: https://docs.ansible.com/ansible/latest/community/communication.html?utm_medium=github&utm_source=issue_template_chooser#mailing-list-information
- about: Please ask and answer usage questions here
-- name: Working groups
- url: https://github.com/ansible/community/wiki
- about: Interested in improving a specific area? Become a part of a working group!
-- name: For Enterprise
- url: https://www.ansible.com/products/engine?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
- about: Red Hat offers support for the Ansible Automation Platform
+ For more information, see
+ https://docs.ansible.com/ansible/latest/community/reporting_bugs_and_features.html
+ - name: Ansible Code of Conduct
+ url: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
+ about: Be nice to other members of the community.
+ - name: Talks to the community
+ url: https://docs.ansible.com/ansible/latest/community/communication.html?utm_medium=github&utm_source=issue_template_chooser#mailing-list-information
+ about: Please ask and answer usage questions here
+ - name: Working groups
+ url: https://github.com/ansible/community/wiki
+ about: Interested in improving a specific area? Become a part of a working group!
+ - name: For Enterprise
+ url: https://www.ansible.com/products/engine?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
+ about: Red Hat offers support for the Ansible Automation Platform
diff --git a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/documentation_report.yml b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/documentation_report.yml
index b88a81614..7464c5508 100644
--- a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/documentation_report.yml
+++ b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/documentation_report.yml
@@ -4,127 +4,126 @@ description: Ask us about docs
# NOTE: issue body is enabled to allow screenshots
body:
-- type: markdown
- attributes:
- value: |
- ⚠
- Verify first that your issue is not [already reported on GitHub][issue search].
- Where possible also test if the latest release and main branch are affected too.
- *Complete **all** sections as described, this form is processed automatically.*
-
- [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
-
-- type: textarea
- attributes:
- label: Summary
- description: |
- Explain the problem briefly below, add suggestions to wording or structure.
-
- **HINT:** Did you know the documentation has an `Edit on GitHub` link on every page?
- placeholder: >-
- I was reading the Collection documentation of version X and I'm having
- problems understanding Y. It would be very helpful if that got
- rephrased as Z.
- validations:
- required: true
-
-- type: dropdown
- attributes:
- label: Issue Type
- # FIXME: Once GitHub allows defining the default choice, update this
- options:
- - Documentation Report
- validations:
- required: true
-
-- type: textarea
- attributes:
+ - type: markdown
+ attributes:
+ value: |
+ ⚠
+ Verify first that your issue is not [already reported on GitHub][issue search].
+ Where possible also test if the latest release and main branch are affected too.
+ *Complete **all** sections as described, this form is processed automatically.*
+
+ [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
+
+ - type: textarea
+ attributes:
+ label: Summary
+ description: |
+ Explain the problem briefly below, add suggestions to wording or structure.
+
+ **HINT:** Did you know the documentation has an `Edit on GitHub` link on every page?
+ placeholder: >-
+ I was reading the Collection documentation of version X and I'm having
+ problems understanding Y. It would be very helpful if that got
+ rephrased as Z.
+ validations:
+ required: true
+
+ - type: dropdown
+ attributes:
+ label: Issue Type
+ # FIXME: Once GitHub allows defining the default choice, update this
+ options:
+ - Documentation Report
+ validations:
+ required: true
+
+ - type: textarea
+ attributes:
# For smaller collections we could use a multi-select and hardcode the list
# May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
# Select from list, filter as you type (`mysql` would only show the 3 mysql components)
# OR freeform - doesn't seem to be supported in adaptivecards
- label: Component Name
- description: >-
- Write the short name of the rst file, module, plugin or task below,
- *use your best guess if unsure*.
- placeholder: ec2_instance, ec2_security_group
- validations:
- required: true
-
-- type: textarea
- attributes:
- label: Ansible Version
- description: >-
- Paste verbatim output from `ansible --version` between
- tripple backticks.
- value: |
- ```console (paste below)
- $ ansible --version
-
- ```
- validations:
- required: false
-
-- type: textarea
- attributes:
- label: Collection Versions
- description: >-
- Paste verbatim output from `ansible-galaxy collection list` between
- tripple backticks.
- value: |
- ```console (paste below)
- $ ansible-galaxy collection list
- ```
- validations:
- required: false
-
-- type: textarea
- attributes:
- label: Configuration
- description: >-
- If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
- This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
-
- Paste verbatim output from `ansible-config dump --only-changed` between quotes
- value: |
- ```console (paste below)
- $ ansible-config dump --only-changed
-
- ```
- validations:
- required: false
-
-- type: textarea
- attributes:
- label: OS / Environment
- description: >-
- Provide all relevant information below, e.g. OS version,
- browser, etc.
- placeholder: RHEL 8, Firefox etc.
- validations:
- required: false
-
-- type: textarea
- attributes:
- label: Additional Information
- description: |
- Describe how this improves the documentation, e.g. before/after situation or screenshots.
-
- **Tip:** It's not possible to upload the screenshot via this field directly but you can use the last textarea in this form to attach them.
-
- **HINT:** You can paste https://gist.github.com links for larger files.
- placeholder: >-
- When the improvement is applied, it makes it more straightforward
- to understand X.
- validations:
- required: false
-
-- type: checkboxes
- attributes:
- label: Code of Conduct
- description: |
- Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
- options:
- - label: I agree to follow the Ansible Code of Conduct
+ label: Component Name
+ description: >-
+ Write the short name of the rst file, module, plugin or task below,
+ *use your best guess if unsure*.
+ placeholder: ec2_instance, ec2_security_group
+ validations:
required: true
-...
+
+ - type: textarea
+ attributes:
+ label: Ansible Version
+ description: >-
+ Paste verbatim output from `ansible --version` between
+ tripple backticks.
+ value: |
+ ```console (paste below)
+ $ ansible --version
+
+ ```
+ validations:
+ required: false
+
+ - type: textarea
+ attributes:
+ label: Collection Versions
+ description: >-
+ Paste verbatim output from `ansible-galaxy collection list` between
+ tripple backticks.
+ value: |
+ ```console (paste below)
+ $ ansible-galaxy collection list
+ ```
+ validations:
+ required: false
+
+ - type: textarea
+ attributes:
+ label: Configuration
+ description: >-
+ If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
+ This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
+
+ Paste verbatim output from `ansible-config dump --only-changed` between quotes
+ value: |
+ ```console (paste below)
+ $ ansible-config dump --only-changed
+
+ ```
+ validations:
+ required: false
+
+ - type: textarea
+ attributes:
+ label: OS / Environment
+ description: >-
+ Provide all relevant information below, e.g. OS version,
+ browser, etc.
+ placeholder: RHEL 8, Firefox etc.
+ validations:
+ required: false
+
+ - type: textarea
+ attributes:
+ label: Additional Information
+ description: |
+ Describe how this improves the documentation, e.g. before/after situation or screenshots.
+
+ **Tip:** It's not possible to upload the screenshot via this field directly but you can use the last textarea in this form to attach them.
+
+ **HINT:** You can paste https://gist.github.com links for larger files.
+ placeholder: >-
+ When the improvement is applied, it makes it more straightforward
+ to understand X.
+ validations:
+ required: false
+
+ - type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
diff --git a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/feature_request.yml b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/feature_request.yml
index 4178d067e..65dd6b978 100644
--- a/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/ansible_collections/amazon/aws/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -3,72 +3,71 @@ name: Feature request
description: Suggest an idea for this project
body:
-- type: markdown
- attributes:
- value: |
- ⚠
- Verify first that your issue is not [already reported on GitHub][issue search].
- Where possible also test if the latest release and main branch are affected too.
- *Complete **all** sections as described, this form is processed automatically.*
+ - type: markdown
+ attributes:
+ value: |
+ ⚠
+ Verify first that your issue is not [already reported on GitHub][issue search].
+ Where possible also test if the latest release and main branch are affected too.
+ *Complete **all** sections as described, this form is processed automatically.*
- [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
+ [issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
-- type: textarea
- attributes:
- label: Summary
- description: |
- Describe the new feature/improvement briefly below.
- placeholder: >-
- I am trying to do X with the collection from the main branch on GitHub and
- I think that implementing a feature Y would be very helpful for me and
- every other user of amazon.aws because of Z.
- validations:
- required: true
+ - type: textarea
+ attributes:
+ label: Summary
+ description: |
+ Describe the new feature/improvement briefly below.
+ placeholder: >-
+ I am trying to do X with the collection from the main branch on GitHub and
+ I think that implementing a feature Y would be very helpful for me and
+ every other user of amazon.aws because of Z.
+ validations:
+ required: true
-- type: dropdown
- attributes:
- label: Issue Type
- # FIXME: Once GitHub allows defining the default choice, update this
- options:
- - Feature Idea
- validations:
- required: true
+ - type: dropdown
+ attributes:
+ label: Issue Type
+ # FIXME: Once GitHub allows defining the default choice, update this
+ options:
+ - Feature Idea
+ validations:
+ required: true
-- type: textarea
- attributes:
+ - type: textarea
+ attributes:
# For smaller collections we could use a multi-select and hardcode the list
# May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
# Select from list, filter as you type (`mysql` would only show the 3 mysql components)
# OR freeform - doesn't seem to be supported in adaptivecards
- label: Component Name
- description: >-
- Write the short name of the module or plugin below,
- *use your best guess if unsure*.
- placeholder: ec2_instance, ec2_security_group
- validations:
- required: true
+ label: Component Name
+ description: >-
+ Write the short name of the module or plugin below,
+ *use your best guess if unsure*.
+ placeholder: ec2_instance, ec2_security_group
+ validations:
+ required: true
-- type: textarea
- attributes:
- label: Additional Information
- description: |
- Describe how the feature would be used, why it is needed and what it would solve.
+ - type: textarea
+ attributes:
+ label: Additional Information
+ description: |
+ Describe how the feature would be used, why it is needed and what it would solve.
- **HINT:** You can paste https://gist.github.com links for larger files.
- value: |
- <!--- Paste example playbooks or commands between quotes below -->
- ```yaml (paste below)
+ **HINT:** You can paste https://gist.github.com links for larger files.
+ value: |
+ <!--- Paste example playbooks or commands between quotes below -->
+ ```yaml (paste below)
- ```
- validations:
- required: false
+ ```
+ validations:
+ required: false
-- type: checkboxes
- attributes:
- label: Code of Conduct
- description: |
- Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
- options:
- - label: I agree to follow the Ansible Code of Conduct
- required: true
-...
+ - type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
diff --git a/ansible_collections/amazon/aws/.github/actions/ansible_release_log/action.yml b/ansible_collections/amazon/aws/.github/actions/ansible_release_log/action.yml
new file mode 100644
index 000000000..925ffeef3
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/actions/ansible_release_log/action.yml
@@ -0,0 +1,56 @@
+---
+name: Ansible GitHub Release Logs
+author: Mark Chappell (tremble)
+branding:
+ icon: git-branch
+ color: gray-dark
+description: Generate Changelog entries for a GitHub release
+
+inputs:
+ release:
+ description: The release version to publish
+ required: true
+
+runs:
+ using: composite
+ steps:
+ - name: Set up Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: 3.11
+
+ - name: Prepare release environment
+ run: |
+ pip install rst-to-myst[sphinx]
+ pip install antsibull-changelog
+ shell: bash
+
+ - name: Checkout current ref
+ uses: actions/checkout@master
+ with:
+ ref: ${{ github.ref }}
+
+ - name: Generate release log (RST)
+ run: |
+ antsibull-changelog generate -vvv --output changelog-release.rst --only-latest "${INPUT_RELEASE}"
+ shell: bash
+ env:
+ INPUT_RELEASE: ${{ inputs.release }}
+
+ - name: Upload RST release log
+ uses: actions/upload-artifact@v3
+ with:
+ name: changelog-rst
+ path: changelog-release.rst
+
+ - name: Convert release log (MD)
+ run: |
+ rst2myst convert changelog-release.rst
+ sed -i 's/^#/###/' changelog-release.md
+ shell: bash
+
+ - name: Upload MD release log
+ uses: actions/upload-artifact@v3
+ with:
+ name: changelog-md
+ path: changelog-release.md
diff --git a/ansible_collections/amazon/aws/.github/actions/ansible_release_tag/action.yml b/ansible_collections/amazon/aws/.github/actions/ansible_release_tag/action.yml
new file mode 100644
index 000000000..95da69d3d
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/actions/ansible_release_tag/action.yml
@@ -0,0 +1,40 @@
+---
+name: Ansible GitHub Release
+author: Mark Chappell (tremble)
+branding:
+ icon: git-branch
+ color: gray-dark
+description: Publish GitHub releases from an action
+
+inputs:
+ release:
+ description: The release version to publish
+ required: true
+
+ collection-name:
+ description: The name of the collection
+ required: true
+
+runs:
+ using: composite
+ steps:
+ - name: Checkout current ref
+ uses: actions/checkout@master
+ with:
+ ref: ${{ github.ref }}
+
+ - name: Download MD release log
+ uses: actions/download-artifact@v3
+ with:
+ name: changelog-md
+
+ - name: Create Release
+ run: |
+ ls
+ cat changelog-release.md
+ gh release create "${RELEASE}" --verify-tag -t "${COLLECTION_NAME} ${RELEASE}" -F changelog-release.md
+ shell: bash
+ env:
+ COLLECTION_NAME: ${{ inputs.collection-name }}
+ RELEASE: ${{ inputs.release }}
+ GH_TOKEN: ${{ github.token }}
diff --git a/ansible_collections/amazon/aws/.github/settings.yml b/ansible_collections/amazon/aws/.github/settings.yml
index b27b575f0..fb9d24610 100644
--- a/ansible_collections/amazon/aws/.github/settings.yml
+++ b/ansible_collections/amazon/aws/.github/settings.yml
@@ -1,5 +1,6 @@
+---
# DO NOT MODIFY
# Settings: https://probot.github.io/apps/settings/
# Pull settings from https://github.com/ansible-collections/.github/blob/master/.github/settings.yml
-_extends: ".github"
+_extends: .github
diff --git a/ansible_collections/amazon/aws/.github/workflows/all_green_check.yml b/ansible_collections/amazon/aws/.github/workflows/all_green_check.yml
new file mode 100644
index 000000000..9f2a8347d
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/all_green_check.yml
@@ -0,0 +1,40 @@
+---
+name: all_green
+
+concurrency:
+ group: ${{ github.head_ref }}
+ cancel-in-progress: true
+
+on: # yamllint disable-line rule:truthy
+ pull_request:
+ types:
+ - opened
+ - reopened
+ - synchronize
+ branches:
+ - main
+ - stable-*
+ tags:
+ - "*"
+
+jobs:
+ linters:
+ uses: ./.github/workflows/linters.yml # use the callable linters job to run tests
+ sanity:
+ uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests
+ units:
+ uses: ./.github/workflows/units.yml # use the callable units job to run tests
+ all_green:
+ if: ${{ always() }}
+ needs:
+ - linters
+ - sanity
+ - units
+ runs-on: ubuntu-latest
+ steps:
+ - run: >-
+ python -c "assert set([
+ '${{ needs.linters.result }}',
+ '${{ needs.sanity.result }}',
+ '${{ needs.units.result }}'
+ ]) == {'success'}"
diff --git a/ansible_collections/amazon/aws/.github/workflows/ansible-bot.yml b/ansible_collections/amazon/aws/.github/workflows/ansible-bot.yml
new file mode 100644
index 000000000..2015ef480
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/ansible-bot.yml
@@ -0,0 +1,18 @@
+---
+name: ansible bot
+on:
+ issues:
+ types:
+ - opened
+ - reopened
+
+jobs:
+ add_label:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ issues: write
+ steps:
+ - uses: actions-ecosystem/action-add-labels@v1
+ with:
+ labels: needs_triage
diff --git a/ansible_collections/amazon/aws/.github/workflows/changelog.yml b/ansible_collections/amazon/aws/.github/workflows/changelog.yml
new file mode 100644
index 000000000..74557125b
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/changelog.yml
@@ -0,0 +1,22 @@
+---
+name: changelog
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+on:
+ pull_request:
+ types:
+ - opened
+ - reopened
+ - labeled
+ - unlabeled
+ - synchronize
+ branches:
+ - main
+ - stable-*
+ tags:
+ - "*"
+jobs:
+ changelog:
+ uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
diff --git a/ansible_collections/amazon/aws/.github/workflows/docs-pr.yml b/ansible_collections/amazon/aws/.github/workflows/docs-pr.yml
index 10cb50de7..8cc39d8f5 100644
--- a/ansible_collections/amazon/aws/.github/workflows/docs-pr.yml
+++ b/ansible_collections/amazon/aws/.github/workflows/docs-pr.yml
@@ -1,3 +1,4 @@
+---
name: Collection Docs
concurrency:
group: docs-${{ github.head_ref }}
@@ -5,7 +6,6 @@ concurrency:
on:
pull_request_target:
types: [opened, synchronize, reopened, closed]
-
env:
GHP_BASE_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
@@ -45,7 +45,7 @@ jobs:
- name: PR comment
uses: ansible-community/github-docs-build/actions/ansible-docs-build-comment@main
with:
- body-includes: '## Docs Build'
+ body-includes: "## Docs Build"
reactions: heart
action: ${{ needs.build-docs.outputs.changed != 'true' && 'remove' || '' }}
on-closed-action: remove
diff --git a/ansible_collections/amazon/aws/.github/workflows/docs-push.yml b/ansible_collections/amazon/aws/.github/workflows/docs-push.yml
index 0acd93200..2c7e9f4c7 100644
--- a/ansible_collections/amazon/aws/.github/workflows/docs-push.yml
+++ b/ansible_collections/amazon/aws/.github/workflows/docs-push.yml
@@ -1,3 +1,4 @@
+---
name: Collection Docs
concurrency:
group: docs-push-${{ github.sha }}
@@ -8,9 +9,9 @@ on:
- main
- stable-*
tags:
- - '*'
+ - "*"
schedule:
- - cron: '0 12 * * *'
+ - cron: "0 12 * * *"
jobs:
build-docs:
diff --git a/ansible_collections/amazon/aws/.github/workflows/linters.yml b/ansible_collections/amazon/aws/.github/workflows/linters.yml
new file mode 100644
index 000000000..0bbf1025d
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/linters.yml
@@ -0,0 +1,11 @@
+---
+name: changelog and linters
+
+on: [workflow_call] # allow this workflow to be called from other workflows
+
+jobs:
+ linters:
+ uses: ansible-network/github_actions/.github/workflows/tox.yml@main
+ with:
+ envname: ""
+ labelname: lint
diff --git a/ansible_collections/amazon/aws/.github/workflows/release-manual.yml b/ansible_collections/amazon/aws/.github/workflows/release-manual.yml
new file mode 100644
index 000000000..e1f0474d5
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/release-manual.yml
@@ -0,0 +1,36 @@
+---
+name: Generate GitHub Release (manual trigger)
+concurrency:
+ group: release-${{ github.head_ref }}
+ cancel-in-progress: true
+on:
+ workflow_dispatch:
+ inputs:
+ release:
+ required: true
+ description: Release to generate
+ type: string
+
+jobs:
+ generate-release-log:
+ permissions:
+ contents: read
+ runs-on: ubuntu-latest
+ steps:
+ - name: Generate Release Log
+ uses: ansible-collections/amazon.aws/.github/actions/ansible_release_log@main
+ with:
+ release: ${{ inputs.release }}
+
+ perform-release:
+ permissions:
+ contents: write
+ runs-on: ubuntu-latest
+ needs:
+ - generate-release-log
+ steps:
+ - name: Generate Release
+ uses: ansible-collections/amazon.aws/.github/actions/ansible_release_tag@main
+ with:
+ release: ${{ inputs.release }}
+ collection-name: amazon.aws
diff --git a/ansible_collections/amazon/aws/.github/workflows/release-tag.yml b/ansible_collections/amazon/aws/.github/workflows/release-tag.yml
new file mode 100644
index 000000000..135bedb88
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/release-tag.yml
@@ -0,0 +1,33 @@
+---
+name: Generate GitHub Release
+concurrency:
+ group: release-${{ github.head_ref }}
+ cancel-in-progress: true
+on:
+ push:
+ tags:
+ - "*"
+
+jobs:
+ generate-release-log:
+ permissions:
+ contents: read
+ runs-on: ubuntu-latest
+ steps:
+ - name: Generate Release Log
+ uses: ansible-collections/amazon.aws/.github/actions/ansible_release_log@main
+ with:
+ release: ${{ github.ref_name }}
+
+ perform-release:
+ permissions:
+ contents: write
+ runs-on: ubuntu-latest
+ needs:
+ - generate-release-log
+ steps:
+ - name: Generate Release
+ uses: ansible-collections/amazon.aws/.github/actions/ansible_release_tag@main
+ with:
+ release: ${{ github.ref_name }}
+ collection-name: amazon.aws
diff --git a/ansible_collections/amazon/aws/.github/workflows/sanity.yml b/ansible_collections/amazon/aws/.github/workflows/sanity.yml
new file mode 100644
index 000000000..d3d4e3120
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/sanity.yml
@@ -0,0 +1,8 @@
+---
+name: sanity tests
+
+on: [workflow_call] # allow this workflow to be called from other workflows
+
+jobs:
+ sanity:
+ uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
diff --git a/ansible_collections/amazon/aws/.github/workflows/units.yml b/ansible_collections/amazon/aws/.github/workflows/units.yml
new file mode 100644
index 000000000..4d8de6bb1
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/units.yml
@@ -0,0 +1,8 @@
+---
+name: unit tests
+
+on: [workflow_call] # allow this workflow to be called from other workflows
+
+jobs:
+ unit-source:
+ uses: ansible-network/github_actions/.github/workflows/unit_source.yml@main
diff --git a/ansible_collections/amazon/aws/.github/workflows/update-variables.yml b/ansible_collections/amazon/aws/.github/workflows/update-variables.yml
new file mode 100644
index 000000000..0a556ffc1
--- /dev/null
+++ b/ansible_collections/amazon/aws/.github/workflows/update-variables.yml
@@ -0,0 +1,16 @@
+---
+name: update collection variables
+
+concurrency:
+ group: ${{ github.workflow }} @ ${{ github.sha }}
+ cancel-in-progress: true
+
+on:
+ push:
+ branches:
+ - main
+ - stable-*
+ pull_request_target:
+jobs:
+ update-variables:
+ uses: ansible-network/github_actions/.github/workflows/update_aws_variables.yml@main