1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add default license header to files which have no copyright or license header yet (#5074) (#5075)

* Add default license header to files which have no copyright or license header yet.

* yml extension should have been xml...

(cherry picked from commit 1ab2a5f1bc)
This commit is contained in:
Felix Fontein 2022-08-05 20:16:36 +02:00 committed by GitHub
parent 203747027e
commit 22a400d626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
822 changed files with 3302 additions and 18 deletions

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
trigger: trigger:
batch: true batch: true
branches: branches:

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# Aggregate code coverage results for later processing. # Aggregate code coverage results for later processing.
set -o pipefail -eu set -o pipefail -eu

View file

@ -1,4 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
""" """
Combine coverage data from multiple jobs, keeping the data only from the most recent attempt from each job. Combine coverage data from multiple jobs, keeping the data only from the most recent attempt from each job.
Coverage artifacts must be named using the format: "Coverage $(System.JobAttempt) {StableUniqueNameForEachJob}" Coverage artifacts must be named using the format: "Coverage $(System.JobAttempt) {StableUniqueNameForEachJob}"

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# Check the test results and set variables for use in later steps. # Check the test results and set variables for use in later steps.
set -o pipefail -eu set -o pipefail -eu

View file

@ -1,4 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
""" """
Upload code coverage reports to codecov.io. Upload code coverage reports to codecov.io.
Multiple coverage files from multiple languages are accepted and aggregated after upload. Multiple coverage files from multiple languages are accepted and aggregated after upload.

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# Generate code coverage reports for uploading to Azure Pipelines and codecov.io. # Generate code coverage reports for uploading to Azure Pipelines and codecov.io.
set -o pipefail -eu set -o pipefail -eu

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# Configure the test environment and run the tests. # Configure the test environment and run the tests.
set -o pipefail -eu set -o pipefail -eu

View file

@ -1,4 +1,8 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
"""Prepends a relative timestamp to each input line from stdin and writes it to stdout.""" """Prepends a relative timestamp to each input line from stdin and writes it to stdout."""
from __future__ import (absolute_import, division, print_function) from __future__ import (absolute_import, division, print_function)

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# This template adds a job for processing code coverage data. # This template adds a job for processing code coverage data.
# It will upload results to Azure Pipelines and codecov.io. # It will upload results to Azure Pipelines and codecov.io.
# Use it from a job stage that completes after all other jobs have completed. # Use it from a job stage that completes after all other jobs have completed.

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# This template uses the provided targets and optional groups to generate a matrix which is then passed to the test template. # This template uses the provided targets and optional groups to generate a matrix which is then passed to the test template.
# If this matrix template does not provide the required functionality, consider using the test template directly instead. # If this matrix template does not provide the required functionality, consider using the test template directly instead.

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# This template uses the provided list of jobs to create test one or more test jobs. # This template uses the provided list of jobs to create test one or more test jobs.
# It can be used directly if needed, or through the matrix template. # It can be used directly if needed, or through the matrix template.

5
.github/BOTMETA.yml vendored
View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
notifications: true notifications: true
automerge: true automerge: true
files: files:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
name: Bug report name: Bug report
description: Create a report to help us improve description: Create a report to help us improve

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser # 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: contact_links:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
name: Documentation Report name: Documentation Report
description: Ask us about docs description: Ask us about docs
# NOTE: issue body is enabled to allow screenshots # NOTE: issue body is enabled to allow screenshots

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
name: Feature request name: Feature request
description: Suggest an idea for this project description: Suggest an idea for this project

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
version: 2 version: 2
updates: updates:
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
backport_branch_prefix: patchback/backports/ backport_branch_prefix: patchback/backports/
backport_label_prefix: backport- backport_label_prefix: backport-
target_branch_prefix: stable- target_branch_prefix: stable-

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
name: "Code scanning - action" name: "Code scanning - action"
on: on:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.0.1

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
changelog_filename_template: ../CHANGELOG.rst changelog_filename_template: ../CHANGELOG.rst
changelog_filename_version_depth: 0 changelog_filename_version_depth: 0
changes_file: changelog.yaml changes_file: changelog.yaml

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
sections: sections:
- title: Guides - title: Guides
toctree: toctree:

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list1: list1:
- name: foo - name: foo
extra: true extra: true

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list1: list1:
- name: myname01 - name: myname01
param01: param01:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 1. Merge two lists by common attribute 'name' - name: 1. Merge two lists by common attribute 'name'
include_vars: include_vars:
dir: example-001_vars dir: example-001_vars

View file

@ -1,2 +1,7 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ list1| list3: "{{ list1|
community.general.lists_mergeby(list2, 'name') }}" community.general.lists_mergeby(list2, 'name') }}"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 2. Merge two lists by common attribute 'name' - name: 2. Merge two lists by common attribute 'name'
include_vars: include_vars:
dir: example-002_vars dir: example-002_vars

View file

@ -1,2 +1,7 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name') }}" community.general.lists_mergeby('name') }}"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 3. Merge recursive by 'name', replace lists (default) - name: 3. Merge recursive by 'name', replace lists (default)
include_vars: include_vars:
dir: example-003_vars dir: example-003_vars

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name', community.general.lists_mergeby('name',
recursive=true) }}" recursive=true) }}"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 4. Merge recursive by 'name', keep lists - name: 4. Merge recursive by 'name', keep lists
include_vars: include_vars:
dir: example-004_vars dir: example-004_vars

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name', community.general.lists_mergeby('name',
recursive=true, recursive=true,

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 5. Merge recursive by 'name', append lists - name: 5. Merge recursive by 'name', append lists
include_vars: include_vars:
dir: example-005_vars dir: example-005_vars

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name', community.general.lists_mergeby('name',
recursive=true, recursive=true,

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 6. Merge recursive by 'name', prepend lists - name: 6. Merge recursive by 'name', prepend lists
include_vars: include_vars:
dir: example-006_vars dir: example-006_vars

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name', community.general.lists_mergeby('name',
recursive=true, recursive=true,

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 7. Merge recursive by 'name', append lists 'remove present' - name: 7. Merge recursive by 'name', append lists 'remove present'
include_vars: include_vars:
dir: example-007_vars dir: example-007_vars

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name', community.general.lists_mergeby('name',
recursive=true, recursive=true,

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: 8. Merge recursive by 'name', prepend lists 'remove present' - name: 8. Merge recursive by 'name', prepend lists 'remove present'
include_vars: include_vars:
dir: example-008_vars dir: example-008_vars

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
list3: "{{ [list1, list2]| list3: "{{ [list1, list2]|
community.general.lists_mergeby('name', community.general.lists_mergeby('name',
recursive=true, recursive=true,

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
examples: examples:
- label: 'In the example below the lists are merged by the attribute ``name``:' - label: 'In the example below the lists are merged by the attribute ``name``:'
file: example-001_vars/list3.yml file: example-001_vars/list3.yml

View file

@ -1,4 +1,7 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 1) Run all examples and create example-XXX.out # 1) Run all examples and create example-XXX.out

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
edit_on_github: edit_on_github:
repository: ansible-collections/community.general repository: ansible-collections/community.general
branch: main branch: main

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
namespace: community namespace: community
name: general name: general
version: 5.5.0 version: 5.5.0

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
requires_ansible: '>=2.11.0' requires_ansible: '>=2.11.0'
plugin_routing: plugin_routing:
connection: connection:

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: hashids_decode name: hashids_decode
short_description: Decodes a sequence of numbers from a YouTube-like hash short_description: Decodes a sequence of numbers from a YouTube-like hash

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: hashids_encode name: hashids_encode
short_description: Encodes YouTube-like hashes from a sequence of integers short_description: Encodes YouTube-like hashes from a sequence of integers

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_days name: to_days
short_description: Converte a duration string to days short_description: Converte a duration string to days

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_hours name: to_hours
short_description: Converte a duration string to hours short_description: Converte a duration string to hours

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_milliseconds name: to_milliseconds
short_description: Converte a duration string to milliseconds short_description: Converte a duration string to milliseconds

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_minutes name: to_minutes
short_description: Converte a duration string to minutes short_description: Converte a duration string to minutes

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_months name: to_months
short_description: Converte a duration string to months short_description: Converte a duration string to months

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_seconds name: to_seconds
short_description: Converte a duration string to seconds short_description: Converte a duration string to seconds

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_time_unit name: to_time_unit
short_description: Converte a duration string to the given time unit short_description: Converte a duration string to the given time unit

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_weeks name: to_weeks
short_description: Converte a duration string to weeks short_description: Converte a duration string to weeks

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
DOCUMENTATION: DOCUMENTATION:
name: to_years name: to_years
short_description: Converte a duration string to years short_description: Converte a duration string to years

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# See template for more information: # See template for more information:
# https://github.com/ansible/ansible/blob/devel/test/lib/ansible_test/config/config.yml # https://github.com/ansible/ansible/blob/devel/test/lib/ansible_test/config/config.yml
modules: modules:

View file

@ -1,2 +1,6 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# No AIX LPAR available # No AIX LPAR available
unsupported unsupported

View file

@ -1 +1,5 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
unsupported unsupported

View file

@ -1,2 +1,6 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
shippable/posix/group1 shippable/posix/group1
disabled disabled

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
alerta_url: http://localhost:8080/ alerta_url: http://localhost:8080/
alerta_user: admin@example.com alerta_user: admin@example.com
alerta_password: password alerta_password: password

View file

@ -1,3 +1,7 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
shippable/posix/group3 shippable/posix/group3
destructive destructive
needs/root needs/root

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Try with nonexistent path - name: Try with nonexistent path
alternatives: alternatives:
name: dummy name: dummy

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: remove links - name: remove links
file: file:
path: '{{ item }}' path: '{{ item }}'

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- include_vars: '{{ item }}' - include_vars: '{{ item }}'
with_first_found: with_first_found:
- files: - files:

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- template: - template:
src: dummy_alternative src: dummy_alternative
dest: '{{ alternatives_dir }}/dummy' dest: '{{ alternatives_dir }}/dummy'

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Try with subcommands - name: Try with subcommands
alternatives: alternatives:
name: dummymain name: dummymain

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- debug: - debug:
msg: ' with_alternatives: {{ with_alternatives }}, mode: {{ mode }}' msg: ' with_alternatives: {{ with_alternatives }}, mode: {{ mode }}'

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- block: - block:
- include_tasks: remove_links.yml - include_tasks: remove_links.yml
- include_tasks: setup_test.yml - include_tasks: setup_test.yml

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: update dummy alternative - name: update dummy alternative
alternatives: alternatives:
name: dummy name: dummy

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# Add a few dummy alternatives with state = present and make sure that the # Add a few dummy alternatives with state = present and make sure that the
# group is in 'auto' mode and the highest priority alternative is selected. # group is in 'auto' mode and the highest priority alternative is selected.
- name: Add some dummy alternatives with state = present - name: Add some dummy alternatives with state = present

View file

@ -1,3 +1,7 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
alternatives_dir: /var/lib/dpkg/alternatives/ alternatives_dir: /var/lib/dpkg/alternatives/
alternatives_command: update-alternatives alternatives_command: update-alternatives

View file

@ -1,3 +1,7 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
alternatives_dir: /var/lib/rpm/alternatives/ alternatives_dir: /var/lib/rpm/alternatives/
alternatives_command: update-alternatives alternatives_command: update-alternatives

View file

@ -1,3 +1,7 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
alternatives_dir: /var/lib/alternatives/ alternatives_dir: /var/lib/alternatives/
alternatives_command: update-alternatives alternatives_command: update-alternatives

View file

@ -1,3 +1,7 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
destructive destructive
shippable/posix/group3 shippable/posix/group3
skip/python2.6 skip/python2.6

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
roles: roles:
# Install a role from Ansible Galaxy. # Install a role from Ansible Galaxy.
- name: geerlingguy.java - name: geerlingguy.java

View file

@ -1,2 +1,7 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies: dependencies:
- setup_remote_tmp_dir - setup_remote_tmp_dir

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
################################################### ###################################################
- name: Install collection netbox.netbox - name: Install collection netbox.netbox
community.general.ansible_galaxy_install: community.general.ansible_galaxy_install:

View file

@ -1,3 +1,7 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
destructive destructive
shippable/posix/group3 shippable/posix/group3
skip/aix skip/aix

View file

@ -1,3 +1,7 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
needs/root needs/root
shippable/posix/group2 shippable/posix/group2
destructive destructive

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies: dependencies:
- setup_pkg_mgr - setup_pkg_mgr
- setup_remote_tmp_dir - setup_remote_tmp_dir

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- block: - block:
- name: Create link - broken link ({{ format }}) - name: Create link - broken link ({{ format }})
file: file:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Archive - exclusion patterns ({{ format }}) - name: Archive - exclusion patterns ({{ format }})
archive: archive:
path: "{{ remote_tmp_dir }}/*.txt" path: "{{ remote_tmp_dir }}/*.txt"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Archive - file content idempotency ({{ format }}) - name: Archive - file content idempotency ({{ format }})
archive: archive:
path: "{{ remote_tmp_dir }}/*.txt" path: "{{ remote_tmp_dir }}/*.txt"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Archive - remove source files ({{ format }}) - name: Archive - remove source files ({{ format }})
archive: archive:
path: "{{ remote_tmp_dir }}/*.txt" path: "{{ remote_tmp_dir }}/*.txt"

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
all: all:
hosts: hosts:
testhost: testhost:

View file

@ -1,2 +1,6 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
shippable/posix/group3 shippable/posix/group3
needs/target/callback needs/target/callback

View file

@ -1 +1,5 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
shippable/posix/group3 shippable/posix/group3

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- hosts: localhost - hosts: localhost
gather_facts: false gather_facts: false
tasks: tasks:

View file

@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
set -eux set -eux

View file

@ -1,2 +1,6 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
shippable/posix/group1 shippable/posix/group1
needs/target/callback needs/target/callback

View file

@ -1,3 +1,7 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
destructive destructive
shippable/posix/group2 shippable/posix/group2
skip/aix skip/aix

View file

@ -1,3 +1,7 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies: dependencies:
- setup_pkg_mgr - setup_pkg_mgr

View file

@ -1,3 +1,8 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- import_tasks: setup.yml - import_tasks: setup.yml
- name: Set default environment - name: Set default environment
set_fact: set_fact:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- block: - block:
- name: Install cargo - name: Install cargo
package: package:

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Ensure application helloworld is uninstalled - name: Ensure application helloworld is uninstalled
community.general.cargo: community.general.cargo:
state: absent state: absent

View file

@ -1,4 +1,8 @@
--- ---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install application helloworld-yliu 0.1.0 - name: Install application helloworld-yliu 0.1.0
community.general.cargo: community.general.cargo:
name: helloworld-yliu name: helloworld-yliu

View file

@ -1,3 +1,7 @@
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
destructive destructive
shippable/posix/group1 shippable/posix/group1
skip/aix skip/aix

View file

@ -1,2 +1,7 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies: dependencies:
- setup_pkg_mgr - setup_pkg_mgr

Some files were not shown because too many files have changed in this diff Show more