mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-28 09:26:44 +00:00
Compare commits
192 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f17b10bfa2 | ||
|
|
258eb68022 | ||
|
|
264c98189c | ||
|
|
7aec01190a | ||
|
|
00fd2847e4 | ||
|
|
94ea18f1cb | ||
|
|
0b42aca72f | ||
|
|
2658bf31cd | ||
|
|
869e1a1eab | ||
|
|
d25b6e7681 | ||
|
|
8beb5d70c5 | ||
|
|
f9fecf12e7 | ||
|
|
b165337bbe | ||
|
|
6572f46998 | ||
|
|
b4ae2ce44d | ||
|
|
baec510c40 | ||
|
|
96cda3a48a | ||
|
|
9dc2e2d032 | ||
|
|
86c0af6cbb | ||
|
|
f5a2d32caa | ||
|
|
c11b7b4c86 | ||
|
|
cdbcf8abc7 | ||
|
|
2e781bf8c4 | ||
|
|
8f588ac745 | ||
|
|
7cd9b839c5 | ||
|
|
e4651c1bf3 | ||
|
|
0342cf1730 | ||
|
|
269df75421 | ||
|
|
bc32914424 | ||
|
|
21ad7c8bfa | ||
|
|
ae3fe51929 | ||
|
|
5d6047a21a | ||
|
|
c0d11f631f | ||
|
|
173c8b1dfa | ||
|
|
005db8177e | ||
|
|
8595601708 | ||
|
|
7229ef4ac4 | ||
|
|
5170c26ffd | ||
|
|
64049a35de | ||
|
|
3427e02fce | ||
|
|
f2e1abfe5e | ||
|
|
fc0d813d5f | ||
|
|
b51e008358 | ||
|
|
b32b69742b | ||
|
|
73ee9702db | ||
|
|
1cddae2265 | ||
|
|
ea2df93116 | ||
|
|
e646d21935 | ||
|
|
f522802977 | ||
|
|
3710f28efb | ||
|
|
2f24bcef8f | ||
|
|
6223b755e1 | ||
|
|
813c6e232d | ||
|
|
3e4aae56bd | ||
|
|
b099a465c5 | ||
|
|
d2b0a0d2bf | ||
|
|
fe0a5fd85f | ||
|
|
f3a2750205 | ||
|
|
5657889b28 | ||
|
|
1b2fbd72de | ||
|
|
5a2e7f9b1b | ||
|
|
c5ff49db56 | ||
|
|
43dc6ba533 | ||
|
|
eb1f0c28a9 | ||
|
|
41993d44e2 | ||
|
|
9345db2001 | ||
|
|
527417dce9 | ||
|
|
7bca37a098 | ||
|
|
4f18ecacfe | ||
|
|
cf17033278 | ||
|
|
1c07537dd5 | ||
|
|
a886633758 | ||
|
|
2e11c2dfa4 | ||
|
|
43e599abb1 | ||
|
|
ef11714708 | ||
|
|
6cd2b4f93b | ||
|
|
a509c08b3a | ||
|
|
4f036cc7f8 | ||
|
|
bc2403042a | ||
|
|
f67708f91c | ||
|
|
2587a2588d | ||
|
|
5a93168d88 | ||
|
|
e962da8b9d | ||
|
|
0d598c3542 | ||
|
|
7b73a83b91 | ||
|
|
82cdc354fa | ||
|
|
a125458748 | ||
|
|
df59034d75 | ||
|
|
6a029bcba3 | ||
|
|
1790dbd5e1 | ||
|
|
7933fe7ea3 | ||
|
|
45990b464e | ||
|
|
22a400d626 | ||
|
|
203747027e | ||
|
|
ffd51d1e22 | ||
|
|
4e13c8b969 | ||
|
|
bccf77a461 | ||
|
|
6b3c797bf6 | ||
|
|
a81e94ddc7 | ||
|
|
e56dafde94 | ||
|
|
767a296b60 | ||
|
|
963bbaccb7 | ||
|
|
9358640ed9 | ||
|
|
2846242e95 | ||
|
|
ce934aa49b | ||
|
|
083bd49976 | ||
|
|
2cc72c2213 | ||
|
|
1f4a98c8cc | ||
|
|
53b2d69bd7 | ||
|
|
981c7849ce | ||
|
|
258471b267 | ||
|
|
3020b305bb | ||
|
|
66cbd926f2 | ||
|
|
37fb2137b3 | ||
|
|
f083a0f4e7 | ||
|
|
9dc82793c4 | ||
|
|
aab93949e1 | ||
|
|
c8d6181f64 | ||
|
|
c286758248 | ||
|
|
6e685e740e | ||
|
|
695599e7d5 | ||
|
|
29e7fae303 | ||
|
|
303000c1a1 | ||
|
|
371ffaeabe | ||
|
|
42854887eb | ||
|
|
5386f7d8cd | ||
|
|
e86fcf76fc | ||
|
|
4d2895676f | ||
|
|
97b3ad6843 | ||
|
|
d7ecd40118 | ||
|
|
fbf3b85d6b | ||
|
|
1bb1e882df | ||
|
|
a7dbefcaf1 | ||
|
|
9d5490e510 | ||
|
|
2245742255 | ||
|
|
6058a5e5b1 | ||
|
|
224567e604 | ||
|
|
1eb872ccea | ||
|
|
ba18d6232a | ||
|
|
6115f18837 | ||
|
|
3f4e3dd2b6 | ||
|
|
a573661458 | ||
|
|
0977152b39 | ||
|
|
91fe881226 | ||
|
|
b78c0cf64f | ||
|
|
c79ccbbf7e | ||
|
|
a80761a8a4 | ||
|
|
213419fb0c | ||
|
|
39a1f280e3 | ||
|
|
a13d407247 | ||
|
|
ba3903e6e0 | ||
|
|
4b6b00d249 | ||
|
|
0a0b0cb42d | ||
|
|
d0b39271b3 | ||
|
|
f07cb76b09 | ||
|
|
09031fc9e6 | ||
|
|
4481d0a4a9 | ||
|
|
5861388f11 | ||
|
|
c581daa48a | ||
|
|
75e2de3581 | ||
|
|
6c7bee1225 | ||
|
|
eafcdfbceb | ||
|
|
82a764446b | ||
|
|
a0032f3513 | ||
|
|
8444367cd0 | ||
|
|
de5fbe457f | ||
|
|
40b35acee2 | ||
|
|
9835deb17f | ||
|
|
6fe9cf11f1 | ||
|
|
d3ebdd2874 | ||
|
|
4275bfe87b | ||
|
|
2f87b8c63f | ||
|
|
100fffb4c1 | ||
|
|
1206900488 | ||
|
|
c28ae26636 | ||
|
|
e1e626cdcb | ||
|
|
f8d35eeb14 | ||
|
|
c44298c437 | ||
|
|
1b580476a8 | ||
|
|
44d2d62d38 | ||
|
|
82b2d294b7 | ||
|
|
812fbef786 | ||
|
|
9d795c334b | ||
|
|
512d412eb4 | ||
|
|
8f0ee6966f | ||
|
|
3af9e39043 | ||
|
|
7b78512c59 | ||
|
|
9f0913bf73 | ||
|
|
aea851018b | ||
|
|
69c79f618e | ||
|
|
6a51ba5169 | ||
|
|
52e8e7e928 |
@@ -1,3 +1,9 @@
|
|||||||
|
<!--
|
||||||
|
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
|
||||||
|
-->
|
||||||
|
|
||||||
## Azure Pipelines Configuration
|
## Azure Pipelines Configuration
|
||||||
|
|
||||||
Please see the [Documentation](https://github.com/ansible/community/wiki/Testing:-Azure-Pipelines) for more information.
|
Please see the [Documentation](https://github.com/ansible/community/wiki/Testing:-Azure-Pipelines) for more information.
|
||||||
|
|||||||
@@ -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:
|
||||||
@@ -48,7 +53,7 @@ variables:
|
|||||||
resources:
|
resources:
|
||||||
containers:
|
containers:
|
||||||
- container: default
|
- container: default
|
||||||
image: quay.io/ansible/azure-pipelines-test-container:1.9.0
|
image: quay.io/ansible/azure-pipelines-test-container:3.0.0
|
||||||
|
|
||||||
pool: Standard
|
pool: Standard
|
||||||
|
|
||||||
@@ -68,6 +73,19 @@ stages:
|
|||||||
- test: 3
|
- test: 3
|
||||||
- test: 4
|
- test: 4
|
||||||
- test: extra
|
- test: extra
|
||||||
|
- stage: Sanity_2_14
|
||||||
|
displayName: Sanity 2.14
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
nameFormat: Test {0}
|
||||||
|
testFormat: 2.14/sanity/{0}
|
||||||
|
targets:
|
||||||
|
- test: 1
|
||||||
|
- test: 2
|
||||||
|
- test: 3
|
||||||
|
- test: 4
|
||||||
- stage: Sanity_2_13
|
- stage: Sanity_2_13
|
||||||
displayName: Sanity 2.13
|
displayName: Sanity 2.13
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -124,6 +142,18 @@ stages:
|
|||||||
- test: 3.8
|
- test: 3.8
|
||||||
- test: 3.9
|
- test: 3.9
|
||||||
- test: '3.10'
|
- test: '3.10'
|
||||||
|
- test: '3.11'
|
||||||
|
- stage: Units_2_14
|
||||||
|
displayName: Units 2.14
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
nameFormat: Python {0}
|
||||||
|
testFormat: 2.14/units/{0}/1
|
||||||
|
targets:
|
||||||
|
- test: 2.7
|
||||||
|
- test: 3.9
|
||||||
- stage: Units_2_13
|
- stage: Units_2_13
|
||||||
displayName: Units 2.13
|
displayName: Units 2.13
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -134,9 +164,7 @@ stages:
|
|||||||
testFormat: 2.13/units/{0}/1
|
testFormat: 2.13/units/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- test: 2.7
|
- test: 2.7
|
||||||
- test: 3.6
|
|
||||||
- test: 3.8
|
- test: 3.8
|
||||||
- test: 3.9
|
|
||||||
- stage: Units_2_12
|
- stage: Units_2_12
|
||||||
displayName: Units 2.12
|
displayName: Units 2.12
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -147,7 +175,6 @@ stages:
|
|||||||
testFormat: 2.12/units/{0}/1
|
testFormat: 2.12/units/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- test: 2.6
|
- test: 2.6
|
||||||
- test: 3.5
|
|
||||||
- test: 3.8
|
- test: 3.8
|
||||||
- stage: Units_2_11
|
- stage: Units_2_11
|
||||||
displayName: Units 2.11
|
displayName: Units 2.11
|
||||||
@@ -158,11 +185,8 @@ stages:
|
|||||||
nameFormat: Python {0}
|
nameFormat: Python {0}
|
||||||
testFormat: 2.11/units/{0}/1
|
testFormat: 2.11/units/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- test: 2.6
|
|
||||||
- test: 2.7
|
- test: 2.7
|
||||||
- test: 3.5
|
- test: 3.5
|
||||||
- test: 3.6
|
|
||||||
- test: 3.9
|
|
||||||
|
|
||||||
## Remote
|
## Remote
|
||||||
- stage: Remote_devel
|
- stage: Remote_devel
|
||||||
@@ -187,6 +211,22 @@ stages:
|
|||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 3
|
- 3
|
||||||
|
- stage: Remote_2_14
|
||||||
|
displayName: Remote 2.14
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
testFormat: 2.14/{0}
|
||||||
|
targets:
|
||||||
|
- name: RHEL 9.0
|
||||||
|
test: rhel/9.0
|
||||||
|
- name: FreeBSD 13.1
|
||||||
|
test: freebsd/13.1
|
||||||
|
groups:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
- stage: Remote_2_13
|
- stage: Remote_2_13
|
||||||
displayName: Remote 2.13
|
displayName: Remote 2.13
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -233,8 +273,6 @@ stages:
|
|||||||
test: rhel/7.9
|
test: rhel/7.9
|
||||||
- name: RHEL 8.3
|
- name: RHEL 8.3
|
||||||
test: rhel/8.3
|
test: rhel/8.3
|
||||||
#- name: FreeBSD 12.2
|
|
||||||
# test: freebsd/12.2
|
|
||||||
groups:
|
groups:
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
@@ -251,8 +289,6 @@ stages:
|
|||||||
targets:
|
targets:
|
||||||
- name: CentOS 7
|
- name: CentOS 7
|
||||||
test: centos7
|
test: centos7
|
||||||
- name: Fedora 35
|
|
||||||
test: fedora35
|
|
||||||
- name: Fedora 36
|
- name: Fedora 36
|
||||||
test: fedora36
|
test: fedora36
|
||||||
- name: openSUSE 15
|
- name: openSUSE 15
|
||||||
@@ -267,6 +303,20 @@ stages:
|
|||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 3
|
- 3
|
||||||
|
- stage: Docker_2_14
|
||||||
|
displayName: Docker 2.14
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
testFormat: 2.14/linux/{0}
|
||||||
|
targets:
|
||||||
|
- name: Ubuntu 20.04
|
||||||
|
test: ubuntu2004
|
||||||
|
groups:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
- stage: Docker_2_13
|
- stage: Docker_2_13
|
||||||
displayName: Docker 2.13
|
displayName: Docker 2.13
|
||||||
dependsOn: []
|
dependsOn: []
|
||||||
@@ -353,6 +403,16 @@ stages:
|
|||||||
testFormat: devel/cloud/{0}/1
|
testFormat: devel/cloud/{0}/1
|
||||||
targets:
|
targets:
|
||||||
- test: 2.7
|
- test: 2.7
|
||||||
|
- test: '3.11'
|
||||||
|
- stage: Cloud_2_14
|
||||||
|
displayName: Cloud 2.14
|
||||||
|
dependsOn: []
|
||||||
|
jobs:
|
||||||
|
- template: templates/matrix.yml
|
||||||
|
parameters:
|
||||||
|
nameFormat: Python {0}
|
||||||
|
testFormat: 2.14/cloud/{0}/1
|
||||||
|
targets:
|
||||||
- test: '3.10'
|
- test: '3.10'
|
||||||
- stage: Cloud_2_13
|
- stage: Cloud_2_13
|
||||||
displayName: Cloud 2.13
|
displayName: Cloud 2.13
|
||||||
@@ -393,22 +453,27 @@ stages:
|
|||||||
- Sanity_2_11
|
- Sanity_2_11
|
||||||
- Sanity_2_12
|
- Sanity_2_12
|
||||||
- Sanity_2_13
|
- Sanity_2_13
|
||||||
|
- Sanity_2_14
|
||||||
- Units_devel
|
- Units_devel
|
||||||
- Units_2_11
|
- Units_2_11
|
||||||
- Units_2_12
|
- Units_2_12
|
||||||
- Units_2_13
|
- Units_2_13
|
||||||
|
- Units_2_14
|
||||||
- Remote_devel
|
- Remote_devel
|
||||||
- Remote_2_11
|
- Remote_2_11
|
||||||
- Remote_2_12
|
- Remote_2_12
|
||||||
- Remote_2_13
|
- Remote_2_13
|
||||||
|
- Remote_2_14
|
||||||
- Docker_devel
|
- Docker_devel
|
||||||
- Docker_2_11
|
- Docker_2_11
|
||||||
- Docker_2_12
|
- Docker_2_12
|
||||||
- Docker_2_13
|
- Docker_2_13
|
||||||
|
- Docker_2_14
|
||||||
- Docker_community_devel
|
- Docker_community_devel
|
||||||
- Cloud_devel
|
- Cloud_devel
|
||||||
- Cloud_2_11
|
- Cloud_2_11
|
||||||
- Cloud_2_12
|
- Cloud_2_12
|
||||||
- Cloud_2_13
|
- Cloud_2_13
|
||||||
|
- Cloud_2_14
|
||||||
jobs:
|
jobs:
|
||||||
- template: templates/coverage.yml
|
- template: templates/coverage.yml
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
53
.github/BOTMETA.yml
vendored
53
.github/BOTMETA.yml
vendored
@@ -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:
|
||||||
@@ -120,6 +125,8 @@ files:
|
|||||||
labels: xenserver
|
labels: xenserver
|
||||||
$filters/counter.py:
|
$filters/counter.py:
|
||||||
maintainers: keilr
|
maintainers: keilr
|
||||||
|
$filters/crc32.py:
|
||||||
|
maintainers: jouir
|
||||||
$filters/dict.py:
|
$filters/dict.py:
|
||||||
maintainers: felixfontein
|
maintainers: felixfontein
|
||||||
$filters/dict_kv.py:
|
$filters/dict_kv.py:
|
||||||
@@ -197,6 +204,8 @@ files:
|
|||||||
$inventories/virtualbox.py: {}
|
$inventories/virtualbox.py: {}
|
||||||
$lookups/:
|
$lookups/:
|
||||||
labels: lookups
|
labels: lookups
|
||||||
|
$lookups/bitwarden.py:
|
||||||
|
maintainers: lungj
|
||||||
$lookups/cartesian.py: {}
|
$lookups/cartesian.py: {}
|
||||||
$lookups/chef_databag.py: {}
|
$lookups/chef_databag.py: {}
|
||||||
$lookups/collection_version.py:
|
$lookups/collection_version.py:
|
||||||
@@ -214,7 +223,8 @@ files:
|
|||||||
$lookups/dnstxt.py:
|
$lookups/dnstxt.py:
|
||||||
maintainers: jpmens
|
maintainers: jpmens
|
||||||
$lookups/dsv.py:
|
$lookups/dsv.py:
|
||||||
maintainers: amigus endlesstrax
|
maintainers: delineaKrehl tylerezimmerman
|
||||||
|
ignore: amigus
|
||||||
$lookups/etcd3.py:
|
$lookups/etcd3.py:
|
||||||
maintainers: eric-belhomme
|
maintainers: eric-belhomme
|
||||||
$lookups/etcd.py:
|
$lookups/etcd.py:
|
||||||
@@ -251,9 +261,13 @@ files:
|
|||||||
maintainers: RevBits
|
maintainers: RevBits
|
||||||
$lookups/shelvefile.py: {}
|
$lookups/shelvefile.py: {}
|
||||||
$lookups/tss.py:
|
$lookups/tss.py:
|
||||||
maintainers: amigus endlesstrax
|
maintainers: delineaKrehl tylerezimmerman
|
||||||
|
ignore: amigus
|
||||||
$module_utils/:
|
$module_utils/:
|
||||||
labels: module_utils
|
labels: module_utils
|
||||||
|
$module_utils/gconftool2.py:
|
||||||
|
maintainers: russoz
|
||||||
|
labels: gconftool2
|
||||||
$module_utils/gitlab.py:
|
$module_utils/gitlab.py:
|
||||||
notify: jlozadad
|
notify: jlozadad
|
||||||
maintainers: $team_gitlab
|
maintainers: $team_gitlab
|
||||||
@@ -285,6 +299,9 @@ files:
|
|||||||
$module_utils/oracle/oci_utils.py:
|
$module_utils/oracle/oci_utils.py:
|
||||||
maintainers: $team_oracle
|
maintainers: $team_oracle
|
||||||
labels: cloud
|
labels: cloud
|
||||||
|
$module_utils/pipx.py:
|
||||||
|
maintainers: russoz
|
||||||
|
labels: pipx
|
||||||
$module_utils/pure.py:
|
$module_utils/pure.py:
|
||||||
maintainers: $team_purestorage
|
maintainers: $team_purestorage
|
||||||
labels: pure pure_storage
|
labels: pure pure_storage
|
||||||
@@ -301,9 +318,15 @@ files:
|
|||||||
$module_utils/utm_utils.py:
|
$module_utils/utm_utils.py:
|
||||||
maintainers: $team_e_spirit
|
maintainers: $team_e_spirit
|
||||||
labels: utm_utils
|
labels: utm_utils
|
||||||
|
$module_utils/wdc_redfish_utils.py:
|
||||||
|
maintainers: $team_wdc
|
||||||
|
labels: wdc_redfish_utils
|
||||||
$module_utils/xenserver.py:
|
$module_utils/xenserver.py:
|
||||||
maintainers: bvitnik
|
maintainers: bvitnik
|
||||||
labels: xenserver
|
labels: xenserver
|
||||||
|
$module_utils/xfconf.py:
|
||||||
|
maintainers: russoz
|
||||||
|
labels: xfconf
|
||||||
$modules/cloud/alicloud/:
|
$modules/cloud/alicloud/:
|
||||||
maintainers: xiaozhu36
|
maintainers: xiaozhu36
|
||||||
$modules/cloud/atomic/atomic_container.py:
|
$modules/cloud/atomic/atomic_container.py:
|
||||||
@@ -355,6 +378,8 @@ files:
|
|||||||
$modules/cloud/misc/proxmox_template.py:
|
$modules/cloud/misc/proxmox_template.py:
|
||||||
maintainers: UnderGreen
|
maintainers: UnderGreen
|
||||||
ignore: skvidal
|
ignore: skvidal
|
||||||
|
$modules/cloud/misc/proxmox_disk.py:
|
||||||
|
maintainers: castorsky
|
||||||
$modules/cloud/misc/rhevm.py:
|
$modules/cloud/misc/rhevm.py:
|
||||||
maintainers: $team_virt TimothyVandenbrande
|
maintainers: $team_virt TimothyVandenbrande
|
||||||
labels: rhevm virt
|
labels: rhevm virt
|
||||||
@@ -434,6 +459,8 @@ files:
|
|||||||
maintainers: claco
|
maintainers: claco
|
||||||
$modules/cloud/scaleway/:
|
$modules/cloud/scaleway/:
|
||||||
maintainers: $team_scaleway
|
maintainers: $team_scaleway
|
||||||
|
$modules/cloud/scaleway/scaleway_compute_private_network.py:
|
||||||
|
maintainers: pastral
|
||||||
$modules/cloud/scaleway/scaleway_database_backup.py:
|
$modules/cloud/scaleway/scaleway_database_backup.py:
|
||||||
maintainers: guillaume_ro_fr
|
maintainers: guillaume_ro_fr
|
||||||
$modules/cloud/scaleway/scaleway_image_info.py:
|
$modules/cloud/scaleway/scaleway_image_info.py:
|
||||||
@@ -562,6 +589,8 @@ files:
|
|||||||
maintainers: Gaetan2907
|
maintainers: Gaetan2907
|
||||||
$modules/identity/keycloak/keycloak_client_rolemapping.py:
|
$modules/identity/keycloak/keycloak_client_rolemapping.py:
|
||||||
maintainers: Gaetan2907
|
maintainers: Gaetan2907
|
||||||
|
$modules/identity/keycloak/keycloak_user_rolemapping.py:
|
||||||
|
maintainers: bratwurzt
|
||||||
$modules/identity/keycloak/keycloak_group.py:
|
$modules/identity/keycloak/keycloak_group.py:
|
||||||
maintainers: adamgoossens
|
maintainers: adamgoossens
|
||||||
$modules/identity/keycloak/keycloak_identity_provider.py:
|
$modules/identity/keycloak/keycloak_identity_provider.py:
|
||||||
@@ -785,6 +814,8 @@ files:
|
|||||||
maintainers: bcoca matburt maxamillion
|
maintainers: bcoca matburt maxamillion
|
||||||
$modules/packaging/language/pipx.py:
|
$modules/packaging/language/pipx.py:
|
||||||
maintainers: russoz
|
maintainers: russoz
|
||||||
|
$modules/packaging/language/pipx_info.py:
|
||||||
|
maintainers: russoz
|
||||||
$modules/packaging/language/yarn.py:
|
$modules/packaging/language/yarn.py:
|
||||||
maintainers: chrishoffman verkaufer
|
maintainers: chrishoffman verkaufer
|
||||||
$modules/packaging/os/apk.py:
|
$modules/packaging/os/apk.py:
|
||||||
@@ -915,7 +946,7 @@ files:
|
|||||||
$modules/packaging/os/xbps.py:
|
$modules/packaging/os/xbps.py:
|
||||||
maintainers: dinoocch the-maldridge
|
maintainers: dinoocch the-maldridge
|
||||||
$modules/packaging/os/yum_versionlock.py:
|
$modules/packaging/os/yum_versionlock.py:
|
||||||
maintainers: florianpaulhoberg aminvakil
|
maintainers: gyptazy aminvakil
|
||||||
$modules/packaging/os/zypper.py:
|
$modules/packaging/os/zypper.py:
|
||||||
maintainers: $team_suse
|
maintainers: $team_suse
|
||||||
labels: zypper
|
labels: zypper
|
||||||
@@ -960,6 +991,10 @@ files:
|
|||||||
$modules/remote_management/redfish/:
|
$modules/remote_management/redfish/:
|
||||||
maintainers: $team_redfish
|
maintainers: $team_redfish
|
||||||
ignore: jose-delarosa
|
ignore: jose-delarosa
|
||||||
|
$modules/remote_management/redfish/wdc_redfish_command.py:
|
||||||
|
maintainers: $team_wdc
|
||||||
|
$modules/remote_management/redfish/wdc_redfish_info.py:
|
||||||
|
maintainers: $team_wdc
|
||||||
$modules/remote_management/stacki/stacki_host.py:
|
$modules/remote_management/stacki/stacki_host.py:
|
||||||
maintainers: bsanders bbyhuy
|
maintainers: bsanders bbyhuy
|
||||||
labels: stacki_host
|
labels: stacki_host
|
||||||
@@ -1024,7 +1059,7 @@ files:
|
|||||||
$modules/system/alternatives.py:
|
$modules/system/alternatives.py:
|
||||||
maintainers: mulby
|
maintainers: mulby
|
||||||
labels: alternatives
|
labels: alternatives
|
||||||
ignore: DavidWittman
|
ignore: DavidWittman jiuka
|
||||||
$modules/system/aix_lvol.py:
|
$modules/system/aix_lvol.py:
|
||||||
maintainers: adejoux
|
maintainers: adejoux
|
||||||
$modules/system/awall.py:
|
$modules/system/awall.py:
|
||||||
@@ -1052,6 +1087,9 @@ files:
|
|||||||
$modules/system/gconftool2.py:
|
$modules/system/gconftool2.py:
|
||||||
maintainers: Akasurde kevensen
|
maintainers: Akasurde kevensen
|
||||||
labels: gconftool2
|
labels: gconftool2
|
||||||
|
$modules/system/gconftool2_info.py:
|
||||||
|
maintainers: russoz
|
||||||
|
labels: gconftool2
|
||||||
$modules/system/homectl.py:
|
$modules/system/homectl.py:
|
||||||
maintainers: jameslivulpi
|
maintainers: jameslivulpi
|
||||||
$modules/system/interfaces_file.py:
|
$modules/system/interfaces_file.py:
|
||||||
@@ -1059,6 +1097,10 @@ files:
|
|||||||
labels: interfaces_file
|
labels: interfaces_file
|
||||||
$modules/system/iptables_state.py:
|
$modules/system/iptables_state.py:
|
||||||
maintainers: quidame
|
maintainers: quidame
|
||||||
|
$modules/system/keyring.py:
|
||||||
|
maintainers: ahussey-redhat
|
||||||
|
$modules/system/keyring_info.py:
|
||||||
|
maintainers: ahussey-redhat
|
||||||
$modules/system/shutdown.py:
|
$modules/system/shutdown.py:
|
||||||
maintainers: nitzmahone samdoran aminvakil
|
maintainers: nitzmahone samdoran aminvakil
|
||||||
$modules/system/java_cert.py:
|
$modules/system/java_cert.py:
|
||||||
@@ -1281,5 +1323,6 @@ macros:
|
|||||||
team_rhn: FlossWare alikins barnabycourt vritant
|
team_rhn: FlossWare alikins barnabycourt vritant
|
||||||
team_scaleway: remyleone abarbare
|
team_scaleway: remyleone abarbare
|
||||||
team_solaris: bcoca fishman jasperla jpdasma mator scathatheworm troy2914 xen0l
|
team_solaris: bcoca fishman jasperla jpdasma mator scathatheworm troy2914 xen0l
|
||||||
team_suse: commel dcermak evrardjp lrupp toabctl AnderEnder alxgu andytom sealor
|
team_suse: commel evrardjp lrupp toabctl AnderEnder alxgu andytom sealor
|
||||||
team_virt: joshainglis karmab tleguern Thulium-Drake Ajpantuso
|
team_virt: joshainglis karmab tleguern Thulium-Drake Ajpantuso
|
||||||
|
team_wdc: mikemoerk
|
||||||
|
|||||||
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -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
|
||||||
|
|
||||||
@@ -105,7 +109,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Steps to Reproduce
|
label: Steps to Reproduce
|
||||||
description: |
|
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 pased any playbooks, configs and commands you used.
|
Describe exactly how to reproduce the problem, using a minimal test-case. It would *really* help us understand your problem if you could also passed any playbooks, configs and commands you used.
|
||||||
|
|
||||||
**HINT:** You can paste https://gist.github.com links for larger files.
|
**HINT:** You can paste https://gist.github.com links for larger files.
|
||||||
value: |
|
value: |
|
||||||
|
|||||||
4
.github/ISSUE_TEMPLATE/config.yml
vendored
4
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
4
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
4
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -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"
|
||||||
|
|||||||
4
.github/patchback.yml
vendored
4
.github/patchback.yml
vendored
@@ -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-
|
||||||
|
|||||||
5
.github/settings.yml
vendored
5
.github/settings.yml
vendored
@@ -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
|
||||||
|
|
||||||
# DO NOT MODIFY
|
# DO NOT MODIFY
|
||||||
|
|
||||||
# Settings: https://probot.github.io/apps/settings/
|
# Settings: https://probot.github.io/apps/settings/
|
||||||
|
|||||||
5
.github/workflows/codeql-analysis.yml
vendored
5
.github/workflows/codeql-analysis.yml
vendored
@@ -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:
|
||||||
|
|||||||
32
.github/workflows/reuse.yml
vendored
Normal file
32
.github/workflows/reuse.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
# 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: Verify REUSE
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
# Run CI once per day (at 07:30 UTC)
|
||||||
|
schedule:
|
||||||
|
- cron: '30 7 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
pip install reuse
|
||||||
|
|
||||||
|
- name: Check REUSE compliance
|
||||||
|
run: |
|
||||||
|
reuse lint
|
||||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +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
|
||||||
|
|
||||||
# Created by https://www.toptal.com/developers/gitignore/api/vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
|
# Created by https://www.toptal.com/developers/gitignore/api/vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
|
||||||
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
|
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
|
||||||
@@ -505,4 +508,4 @@ $RECYCLE.BIN/
|
|||||||
# Windows shortcuts
|
# Windows shortcuts
|
||||||
*.lnk
|
*.lnk
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
|
# End of https://www.toptal.com/developers/gitignore/api/vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
5
.reuse/dep5
Normal file
5
.reuse/dep5
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
|
||||||
|
Files: changelogs/fragments/*
|
||||||
|
Copyright: Ansible Project
|
||||||
|
License: GPL-3.0-or-later
|
||||||
326
CHANGELOG.rst
326
CHANGELOG.rst
@@ -6,6 +6,332 @@ Community General Release Notes
|
|||||||
|
|
||||||
This changelog describes changes after version 4.0.0.
|
This changelog describes changes after version 4.0.0.
|
||||||
|
|
||||||
|
v5.7.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Regular feature and bugfix release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- bitwarden lookup plugin - add option ``search`` to search for other attributes than name (https://github.com/ansible-collections/community.general/pull/5297).
|
||||||
|
- machinectl become plugin - combine the success command when building the become command to be consistent with other become plugins (https://github.com/ansible-collections/community.general/pull/5287).
|
||||||
|
- netcup_dnsapi - add ``timeout`` parameter (https://github.com/ansible-collections/community.general/pull/5301).
|
||||||
|
- proxmox module utils, the proxmox* modules - add ``api_task_ok`` helper to standardize API task status checks across all proxmox modules (https://github.com/ansible-collections/community.general/pull/5274).
|
||||||
|
- proxmox_snap - add ``unbind`` param to support snapshotting containers with configured mountpoints (https://github.com/ansible-collections/community.general/pull/5274).
|
||||||
|
- redfish_config - add ``SetSessionService`` to set default session timeout policy (https://github.com/ansible-collections/community.general/issues/5008).
|
||||||
|
- terraform - adds capability to handle complex variable structures for ``variables`` parameter in the module. This must be enabled with the new ``complex_vars`` parameter (https://github.com/ansible-collections/community.general/pull/4797).
|
||||||
|
- terraform - run ``terraform init`` with ``-no-color`` not to mess up the stdout of the task (https://github.com/ansible-collections/community.general/pull/5147).
|
||||||
|
|
||||||
|
Deprecated Features
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
- lxc_container - the module will no longer make any effort to support Python 2 (https://github.com/ansible-collections/community.general/pull/5304).
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- ini_file - minor refactor fixing a python lint error (https://github.com/ansible-collections/community.general/pull/5307).
|
||||||
|
- locale_gen - fix support for Ubuntu (https://github.com/ansible-collections/community.general/issues/5281).
|
||||||
|
- lxc_container - the module has been updated to support Python 3 (https://github.com/ansible-collections/community.general/pull/5304).
|
||||||
|
- nmcli - fix error when setting previously unset MAC address, ``gsm.apn`` or ``vpn.data``: current values were being normalized without checking if they might be ``None`` (https://github.com/ansible-collections/community.general/pull/5291).
|
||||||
|
- redhat_subscription - make module idempotent when ``pool_ids`` are used (https://github.com/ansible-collections/community.general/issues/5313).
|
||||||
|
|
||||||
|
New Modules
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Cloud
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
misc
|
||||||
|
^^^^
|
||||||
|
|
||||||
|
- proxmox_disk - Management of a disk of a Qemu(KVM) VM in a Proxmox VE cluster.
|
||||||
|
|
||||||
|
Identity
|
||||||
|
~~~~~~~~
|
||||||
|
|
||||||
|
keycloak
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
- keycloak_user_rolemapping - Allows administration of Keycloak user_rolemapping with the Keycloak API
|
||||||
|
|
||||||
|
v5.6.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Regular bugfix and feature release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- ali_instance - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5240).
|
||||||
|
- ali_instance_info - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5240).
|
||||||
|
- consul_session - adds ``token`` parameter for session (https://github.com/ansible-collections/community.general/pull/5193).
|
||||||
|
- gitlab module util - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_branch - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_deploy_key - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_group - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_group_members - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_group_variable - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_hook - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_hook - minor refactoring (https://github.com/ansible-collections/community.general/pull/5271).
|
||||||
|
- gitlab_project - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_project_members - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_project_variable - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_protected_branch - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_runner - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_user - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- homebrew, homebrew_tap - added Homebrew on Linux path to defaults (https://github.com/ansible-collections/community.general/pull/5241).
|
||||||
|
- nagios - minor refactoring on parameter validation for different actions (https://github.com/ansible-collections/community.general/pull/5239).
|
||||||
|
- nmcli - add bond option ``xmit_hash_policy`` to bond options (https://github.com/ansible-collections/community.general/issues/5148).
|
||||||
|
- nmcli - honor IP options for VPNs (https://github.com/ansible-collections/community.general/pull/5228).
|
||||||
|
- redfish - added new command GetVirtualMedia, VirtualMediaInsert and VirtualMediaEject to Systems category due to Redfish spec changes the virtualMedia resource location from Manager to System (https://github.com/ansible-collections/community.general/pull/5124).
|
||||||
|
- seport - added new argument ``local`` (https://github.com/ansible-collections/community.general/pull/5203)
|
||||||
|
- wdc_redfish_command - add ``PowerModeLow`` and ``PowerModeNormal`` commands for ``Chassis`` category (https://github.com/ansible-collections/community.general/pull/5145).
|
||||||
|
|
||||||
|
Deprecated Features
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
- proxmox - deprecated the current ``unprivileged`` default value, will be changed to ``true`` in community.general 7.0.0 (https://github.com/pull/5224).
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- listen_ports_facts - removed leftover ``EnvironmentError`` . The ``else`` clause had a wrong indentation. The check is now handled in the ``split_pid_name`` function (https://github.com/ansible-collections/community.general/pull/5202).
|
||||||
|
- nmcli - avoid changed status for most cases with VPN connections (https://github.com/ansible-collections/community.general/pull/5126).
|
||||||
|
- osx_defaults - no longer expand ``~`` in ``value`` to the user's home directory, or expand environment variables (https://github.com/ansible-collections/community.general/issues/5234, https://github.com/ansible-collections/community.general/pull/5243).
|
||||||
|
- proxmox_kvm - fix exception when no ``agent`` argument is specified (https://github.com/ansible-collections/community.general/pull/5194).
|
||||||
|
- proxmox_kvm - replace new condition with proper condition to allow for using ``vmid`` on update (https://github.com/ansible-collections/community.general/pull/5206).
|
||||||
|
- slack - fix message update for channels which start with ``CP``. When ``message-id`` was passed it failed for channels which started with ``CP`` because the ``#`` symbol was added before the ``channel_id`` (https://github.com/ansible-collections/community.general/pull/5249).
|
||||||
|
- tss lookup plugin - adding support for updated Delinea library (https://github.com/DelineaXPM/python-tss-sdk/issues/9, https://github.com/ansible-collections/community.general/pull/5151).
|
||||||
|
|
||||||
|
New Modules
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Packaging
|
||||||
|
~~~~~~~~~
|
||||||
|
|
||||||
|
language
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
- pipx_info - Rretrieves information about applications installed with pipx
|
||||||
|
|
||||||
|
v5.5.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Feature and bugfix release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- Added MIT license as ``LICENSES/MIT.txt`` for tests/unit/plugins/modules/packaging/language/test_gem.py (https://github.com/ansible-collections/community.general/pull/5065).
|
||||||
|
- All software licenses are now in the ``LICENSES/`` directory of the collection root (https://github.com/ansible-collections/community.general/pull/5065, https://github.com/ansible-collections/community.general/pull/5079, https://github.com/ansible-collections/community.general/pull/5080, https://github.com/ansible-collections/community.general/pull/5083, https://github.com/ansible-collections/community.general/pull/5087, https://github.com/ansible-collections/community.general/pull/5095, https://github.com/ansible-collections/community.general/pull/5098, https://github.com/ansible-collections/community.general/pull/5106).
|
||||||
|
- The collection repository conforms to the `REUSE specification <https://reuse.software/spec/>`__ except for the changelog fragments (https://github.com/ansible-collections/community.general/pull/5138).
|
||||||
|
- pipx - added state ``latest`` to the module (https://github.com/ansible-collections/community.general/pull/5105).
|
||||||
|
- pipx - changed implementation to use ``cmd_runner`` (https://github.com/ansible-collections/community.general/pull/5085).
|
||||||
|
- pipx - module fails faster when ``name`` is missing for states ``upgrade`` and ``reinstall`` (https://github.com/ansible-collections/community.general/pull/5100).
|
||||||
|
- pipx module utils - created new module util ``pipx`` providing a ``cmd_runner`` specific for the ``pipx`` module (https://github.com/ansible-collections/community.general/pull/5085).
|
||||||
|
- proxmox_kvm - allow ``agent`` argument to be a string (https://github.com/ansible-collections/community.general/pull/5107).
|
||||||
|
- wdc_redfish_command - add ``IndicatorLedOn`` and ``IndicatorLedOff`` commands for ``Chassis`` category (https://github.com/ansible-collections/community.general/pull/5059).
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- apache2_mod_proxy - avoid crash when reporting inability to parse balancer_member_page HTML caused by using an undefined variable in the error message (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- dig lookup plugin - fix evaluation of falsy values for boolean parameters ``fail_on_error`` and ``retry_servfail`` (https://github.com/ansible-collections/community.general/pull/5129).
|
||||||
|
- dnsimple_info - correctly report missing library as ``requests`` and not ``another_library`` (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- funcd connection plugin - fix signature of ``exec_command`` (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- manageiq_alert_profiles - avoid crash when reporting unknown profile caused by trying to return an undefined variable (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- nsupdate - compatibility with NS records (https://github.com/ansible-collections/community.general/pull/5112).
|
||||||
|
- packet_ip_subnet - fix error reporting in case of invalid CIDR prefix lengths (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- pip_package_info - remove usage of global variable (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- proxmox_kvm - fix wrong condition (https://github.com/ansible-collections/community.general/pull/5108).
|
||||||
|
|
||||||
|
v5.4.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Regular bugfix and feature release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- ModuleHelper module utils - added property ``verbosity`` to base class (https://github.com/ansible-collections/community.general/pull/5035).
|
||||||
|
- apk - add ``world`` parameter for supporting a custom world file (https://github.com/ansible-collections/community.general/pull/4976).
|
||||||
|
- consul - adds ``ttl`` parameter for session (https://github.com/ansible-collections/community.general/pull/4996).
|
||||||
|
- dig lookup plugin - add option ``fail_on_error`` to allow stopping execution on lookup failures (https://github.com/ansible-collections/community.general/pull/4973).
|
||||||
|
- keycloak_* modules - add ``http_agent`` parameter with default value ``Ansible`` (https://github.com/ansible-collections/community.general/issues/5023).
|
||||||
|
- lastpass - use config manager for handling plugin options (https://github.com/ansible-collections/community.general/pull/5022).
|
||||||
|
- listen_ports_facts - add new ``include_non_listening`` option which adds ``-a`` option to ``netstat`` and ``ss``. This shows both listening and non-listening (for TCP this means established connections) sockets, and returns ``state`` and ``foreign_address`` (https://github.com/ansible-collections/community.general/issues/4762, https://github.com/ansible-collections/community.general/pull/4953).
|
||||||
|
- maven_artifact - add a new ``unredirected_headers`` option that can be used with ansible-core 2.12 and above. The default value is to not use ``Authorization`` and ``Cookie`` headers on redirects for security reasons. With ansible-core 2.11, all headers are still passed on for redirects (https://github.com/ansible-collections/community.general/pull/4812).
|
||||||
|
- pacman - added parameters ``reason`` and ``reason_for`` to set/change the install reason of packages (https://github.com/ansible-collections/community.general/pull/4956).
|
||||||
|
- xfconf - add ``stdout``, ``stderr`` and ``cmd`` to the module results (https://github.com/ansible-collections/community.general/pull/5037).
|
||||||
|
- xfconf - use ``do_raise()`` instead of defining custom exception class (https://github.com/ansible-collections/community.general/pull/4975).
|
||||||
|
- xfconf_info - use ``do_raise()`` instead of defining custom exception class (https://github.com/ansible-collections/community.general/pull/4975).
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- keyring_info - fix the result from the keyring library never getting returned (https://github.com/ansible-collections/community.general/pull/4964).
|
||||||
|
- pacman - fixed name resolution of URL packages (https://github.com/ansible-collections/community.general/pull/4959).
|
||||||
|
- passwordstore lookup plugin - fix ``returnall`` for gopass (https://github.com/ansible-collections/community.general/pull/5027).
|
||||||
|
- passwordstore lookup plugin - fix password store path detection for gopass (https://github.com/ansible-collections/community.general/pull/4955).
|
||||||
|
- proxmox - fix error handling when getting VM by name when ``state=absent`` (https://github.com/ansible-collections/community.general/pull/4945).
|
||||||
|
- proxmox_kvm - fix error handling when getting VM by name when ``state=absent`` (https://github.com/ansible-collections/community.general/pull/4945).
|
||||||
|
- slack - fix incorrect channel prefix ``#`` caused by incomplete pattern detection by adding ``G0`` and ``GF`` as channel ID patterns (https://github.com/ansible-collections/community.general/pull/5019).
|
||||||
|
- xfconf - fix setting of boolean values (https://github.com/ansible-collections/community.general/issues/4999, https://github.com/ansible-collections/community.general/pull/5007).
|
||||||
|
|
||||||
|
New Plugins
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Lookup
|
||||||
|
~~~~~~
|
||||||
|
|
||||||
|
- bitwarden - Retrieve secrets from Bitwarden
|
||||||
|
|
||||||
|
New Modules
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Remote Management
|
||||||
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
redfish
|
||||||
|
^^^^^^^
|
||||||
|
|
||||||
|
- wdc_redfish_command - Manages WDC UltraStar Data102 Out-Of-Band controllers using Redfish APIs
|
||||||
|
- wdc_redfish_info - Manages WDC UltraStar Data102 Out-Of-Band controllers using Redfish APIs
|
||||||
|
|
||||||
|
v5.3.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Regular bugfix and feature release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- machinectl become plugin - can now be used with a password from another user than root, if a polkit rule is present (https://github.com/ansible-collections/community.general/pull/4849).
|
||||||
|
- opentelemetry callback plugin - allow configuring opentelementry callback via config file (https://github.com/ansible-collections/community.general/pull/4916).
|
||||||
|
- redfish_info - add ``GetManagerInventory`` to report list of Manager inventory information (https://github.com/ansible-collections/community.general/issues/4899).
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- cmd_runner module utils - fix bug caused by using the ``command`` variable instead of ``self.command`` when looking for binary path (https://github.com/ansible-collections/community.general/pull/4903).
|
||||||
|
- dsv lookup plugin - do not ignore the ``tld`` parameter (https://github.com/ansible-collections/community.general/pull/4911).
|
||||||
|
- lxd connection plugin - fix incorrect ``inventory_hostname`` in ``remote_addr``. This is needed for compatibility with ansible-core 2.13 (https://github.com/ansible-collections/community.general/issues/4886).
|
||||||
|
- proxmox inventory plugin - fix crash when ``enabled=1`` is used in agent config string (https://github.com/ansible-collections/community.general/pull/4910).
|
||||||
|
- rax_clb_nodes - fix code to be compatible with Python 3 (https://github.com/ansible-collections/community.general/pull/4933).
|
||||||
|
- redfish_info - fix to ``GetChassisPower`` to correctly report power information when multiple chassis exist, but not all chassis report power information (https://github.com/ansible-collections/community.general/issues/4901).
|
||||||
|
|
||||||
|
v5.2.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Regular bugfix and feature release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- cmd_runner module utils - add ``__call__`` method to invoke context (https://github.com/ansible-collections/community.general/pull/4791).
|
||||||
|
- passwordstore lookup plugin - allow using alternative password managers by detecting wrapper scripts, allow explicit configuration of pass and gopass backends (https://github.com/ansible-collections/community.general/issues/4766).
|
||||||
|
- sudoers - will attempt to validate the proposed sudoers rule using visudo if available, optionally skipped, or required (https://github.com/ansible-collections/community.general/pull/4794, https://github.com/ansible-collections/community.general/issues/4745).
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_mount.py``.
|
||||||
|
- redfish_command - fix the check if a virtual media is unmounted to just check for ``instered= false`` caused by Supermicro hardware that does not clear the ``ImageName`` (https://github.com/ansible-collections/community.general/pull/4839).
|
||||||
|
- redfish_command - the Supermicro Redfish implementation only supports the ``image_url`` parameter in the underlying API calls to ``VirtualMediaInsert`` and ``VirtualMediaEject``. Any values set (or the defaults) for ``write_protected`` or ``inserted`` will be ignored (https://github.com/ansible-collections/community.general/pull/4839).
|
||||||
|
- sudoers - fix incorrect handling of ``state: absent`` (https://github.com/ansible-collections/community.general/issues/4852).
|
||||||
|
|
||||||
|
New Modules
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Cloud
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
scaleway
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
- scaleway_compute_private_network - Scaleway compute - private network management
|
||||||
|
|
||||||
|
System
|
||||||
|
~~~~~~
|
||||||
|
|
||||||
|
- keyring - Set or delete a passphrase using the Operating System's native keyring
|
||||||
|
- keyring_info - Get a passphrase using the Operating System's native keyring
|
||||||
|
|
||||||
|
v5.1.1
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Bugfix release.
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- alternatives - do not set the priority if the priority was not set by the user (https://github.com/ansible-collections/community.general/pull/4810).
|
||||||
|
- alternatives - only pass subcommands when they are specified as module arguments (https://github.com/ansible-collections/community.general/issues/4803, https://github.com/ansible-collections/community.general/issues/4804, https://github.com/ansible-collections/community.general/pull/4836).
|
||||||
|
- alternatives - when ``subcommands`` is specified, ``link`` must be given for every subcommand. This was already mentioned in the documentation, but not enforced by the code (https://github.com/ansible-collections/community.general/pull/4836).
|
||||||
|
- nmcli - fix error caused by adding undefined module arguments for list options (https://github.com/ansible-collections/community.general/issues/4373, https://github.com/ansible-collections/community.general/pull/4813).
|
||||||
|
- proxmox inventory plugin - fixed extended status detection for qemu (https://github.com/ansible-collections/community.general/pull/4816).
|
||||||
|
- redhat_subscription - fix unsubscribing on RHEL 9 (https://github.com/ansible-collections/community.general/issues/4741).
|
||||||
|
- sudoers - ensure sudoers config files are created with the permissions requested by sudoers (0440) (https://github.com/ansible-collections/community.general/pull/4814).
|
||||||
|
|
||||||
|
v5.1.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Regular bugfix and feature release.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- ModuleHelper module utils - improved ``ModuleHelperException``, using ``to_native()`` for the exception message (https://github.com/ansible-collections/community.general/pull/4755).
|
||||||
|
- alternatives - add ``state=absent`` to be able to remove an alternative (https://github.com/ansible-collections/community.general/pull/4654).
|
||||||
|
- alternatives - add ``subcommands`` parameter (https://github.com/ansible-collections/community.general/pull/4654).
|
||||||
|
- ansible_galaxy_install - minor refactoring using latest ``ModuleHelper`` updates (https://github.com/ansible-collections/community.general/pull/4752).
|
||||||
|
- cmd_runner module util - added parameters ``check_mode_skip`` and ``check_mode_return`` to ``CmdRunner.context()``, so that the command is not executed when ``check_mode=True`` (https://github.com/ansible-collections/community.general/pull/4736).
|
||||||
|
- nmcli - adds ``vpn`` type and parameter for supporting VPN with service type L2TP and PPTP (https://github.com/ansible-collections/community.general/pull/4746).
|
||||||
|
- proxmox inventory plugin - added new flag ``qemu_extended_statuses`` and new groups ``<group_prefix>prelaunch``, ``<group_prefix>paused``. They will be populated only when ``want_facts=true``, ``qemu_extended_statuses=true`` and only for ``QEMU`` machines (https://github.com/ansible-collections/community.general/pull/4723).
|
||||||
|
- puppet - adds ``confdir`` parameter to configure a custom confir location (https://github.com/ansible-collections/community.general/pull/4740).
|
||||||
|
- xfconf - changed implementation to use ``cmd_runner`` (https://github.com/ansible-collections/community.general/pull/4776).
|
||||||
|
- xfconf module utils - created new module util ``xfconf`` providing a ``cmd_runner`` specific for ``xfconf`` modules (https://github.com/ansible-collections/community.general/pull/4776).
|
||||||
|
- xfconf_info - changed implementation to use ``cmd_runner`` (https://github.com/ansible-collections/community.general/pull/4776).
|
||||||
|
|
||||||
|
Deprecated Features
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
- cmd_runner module utils - deprecated ``fmt`` in favour of ``cmd_runner_fmt`` as the parameter format object (https://github.com/ansible-collections/community.general/pull/4777).
|
||||||
|
|
||||||
|
New Modules
|
||||||
|
-----------
|
||||||
|
|
||||||
|
System
|
||||||
|
~~~~~~
|
||||||
|
|
||||||
|
- gconftool2_info - Retrieve GConf configurations
|
||||||
|
|
||||||
v5.0.2
|
v5.0.2
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|||||||
3
CHANGELOG.rst.license
Normal file
3
CHANGELOG.rst.license
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
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
|
||||||
|
SPDX-FileCopyrightText: Ansible Project
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
<!--
|
||||||
|
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
|
||||||
|
-->
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
We follow [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html) in all our contributions and interactions within this repository.
|
We follow [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html) in all our contributions and interactions within this repository.
|
||||||
|
|||||||
1
LICENSES/GPL-3.0-or-later.txt
Symbolic link
1
LICENSES/GPL-3.0-or-later.txt
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../COPYING
|
||||||
9
LICENSES/MIT.txt
Normal file
9
LICENSES/MIT.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
48
LICENSES/PSF-2.0.txt
Normal file
48
LICENSES/PSF-2.0.txt
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
1. This LICENSE AGREEMENT is between the Python Software Foundation
|
||||||
|
("PSF"), and the Individual or Organization ("Licensee") accessing and
|
||||||
|
otherwise using this software ("Python") in source or binary form and
|
||||||
|
its associated documentation.
|
||||||
|
|
||||||
|
2. Subject to the terms and conditions of this License Agreement, PSF hereby
|
||||||
|
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
|
||||||
|
analyze, test, perform and/or display publicly, prepare derivative works,
|
||||||
|
distribute, and otherwise use Python alone or in any derivative version,
|
||||||
|
provided, however, that PSF's License Agreement and PSF's notice of copyright,
|
||||||
|
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Python Software Foundation;
|
||||||
|
All Rights Reserved" are retained in Python alone or in any derivative version
|
||||||
|
prepared by Licensee.
|
||||||
|
|
||||||
|
3. In the event Licensee prepares a derivative work that is based on
|
||||||
|
or incorporates Python or any part thereof, and wants to make
|
||||||
|
the derivative work available to others as provided herein, then
|
||||||
|
Licensee hereby agrees to include in any such work a brief summary of
|
||||||
|
the changes made to Python.
|
||||||
|
|
||||||
|
4. PSF is making Python available to Licensee on an "AS IS"
|
||||||
|
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
|
||||||
|
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
|
||||||
|
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
|
||||||
|
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
|
||||||
|
INFRINGE ANY THIRD PARTY RIGHTS.
|
||||||
|
|
||||||
|
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
|
||||||
|
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
|
||||||
|
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
|
||||||
|
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
|
||||||
|
|
||||||
|
6. This License Agreement will automatically terminate upon a material
|
||||||
|
breach of its terms and conditions.
|
||||||
|
|
||||||
|
7. Nothing in this License Agreement shall be deemed to create any
|
||||||
|
relationship of agency, partnership, or joint venture between PSF and
|
||||||
|
Licensee. This License Agreement does not grant permission to use PSF
|
||||||
|
trademarks or trade name in a trademark sense to endorse or promote
|
||||||
|
products or services of Licensee, or any third party.
|
||||||
|
|
||||||
|
8. By copying, installing or otherwise using Python, Licensee
|
||||||
|
agrees to be bound by the terms and conditions of this License
|
||||||
|
Agreement.
|
||||||
16
README.md
16
README.md
@@ -1,3 +1,9 @@
|
|||||||
|
<!--
|
||||||
|
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
|
||||||
|
-->
|
||||||
|
|
||||||
# Community General Collection
|
# Community General Collection
|
||||||
|
|
||||||
[](https://dev.azure.com/ansible/community.general/_build?definitionId=31)
|
[](https://dev.azure.com/ansible/community.general/_build?definitionId=31)
|
||||||
@@ -17,7 +23,7 @@ If you encounter abusive behavior violating the [Ansible Code of Conduct](https:
|
|||||||
|
|
||||||
## Tested with Ansible
|
## Tested with Ansible
|
||||||
|
|
||||||
Tested with the current ansible-core 2.11, ansible-core 2.12, ansible-core 2.13 releases and the current development version of ansible-core. Ansible-core versions before 2.11.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases.
|
Tested with the current ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, ansible-core 2.14 releases and the current development version of ansible-core. Ansible-core versions before 2.11.0 are not supported. This includes all ansible-base 2.10 and Ansible 2.9 releases.
|
||||||
|
|
||||||
Parts of this collection will not work with ansible-core 2.11 on Python 3.12+.
|
Parts of this collection will not work with ansible-core 2.11 on Python 3.12+.
|
||||||
|
|
||||||
@@ -127,6 +133,10 @@ See [this issue](https://github.com/ansible-collections/community.general/issues
|
|||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
GNU General Public License v3.0 or later.
|
This collection is primarily licensed and distributed as a whole under the GNU General Public License v3.0 or later.
|
||||||
|
|
||||||
See [COPYING](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text.
|
See [LICENSES/GPL-3.0-or-later.txt](https://github.com/ansible-collections/community.general/blob/main/COPYING) for the full text.
|
||||||
|
|
||||||
|
Parts of the collection are licensed under the [BSD 2-Clause license](https://github.com/ansible-collections/community.general/blob/main/LICENSES/BSD-2-Clause.txt), the [MIT license](https://github.com/ansible-collections/community.general/blob/main/LICENSES/MIT.txt), and the [PSF 2.0 license](https://github.com/ansible-collections/community.general/blob/main/LICENSES/PSF-2.0.txt).
|
||||||
|
|
||||||
|
All files have a machine readable `SDPX-License-Identifier:` comment denoting its respective license(s) or an equivalent entry in an accompanying `.license` file. Only changelog fragments (which will not be part of a release) are covered by a blanket statement in `.reuse/dep5`. This conforms to the [REUSE specification](https://reuse.software/spec/).
|
||||||
|
|||||||
4
changelogs/.gitignore
vendored
4
changelogs/.gitignore
vendored
@@ -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
|
||||||
|
|
||||||
/.plugin-cache.yaml
|
/.plugin-cache.yaml
|
||||||
|
|||||||
@@ -801,3 +801,416 @@ releases:
|
|||||||
- 5.0.2.yml
|
- 5.0.2.yml
|
||||||
- simplified-bsd-license.yml
|
- simplified-bsd-license.yml
|
||||||
release_date: '2022-06-06'
|
release_date: '2022-06-06'
|
||||||
|
5.1.0:
|
||||||
|
changes:
|
||||||
|
deprecated_features:
|
||||||
|
- cmd_runner module utils - deprecated ``fmt`` in favour of ``cmd_runner_fmt``
|
||||||
|
as the parameter format object (https://github.com/ansible-collections/community.general/pull/4777).
|
||||||
|
minor_changes:
|
||||||
|
- ModuleHelper module utils - improved ``ModuleHelperException``, using ``to_native()``
|
||||||
|
for the exception message (https://github.com/ansible-collections/community.general/pull/4755).
|
||||||
|
- alternatives - add ``state=absent`` to be able to remove an alternative (https://github.com/ansible-collections/community.general/pull/4654).
|
||||||
|
- alternatives - add ``subcommands`` parameter (https://github.com/ansible-collections/community.general/pull/4654).
|
||||||
|
- ansible_galaxy_install - minor refactoring using latest ``ModuleHelper`` updates
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4752).
|
||||||
|
- cmd_runner module util - added parameters ``check_mode_skip`` and ``check_mode_return``
|
||||||
|
to ``CmdRunner.context()``, so that the command is not executed when ``check_mode=True``
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4736).
|
||||||
|
- nmcli - adds ``vpn`` type and parameter for supporting VPN with service type
|
||||||
|
L2TP and PPTP (https://github.com/ansible-collections/community.general/pull/4746).
|
||||||
|
- proxmox inventory plugin - added new flag ``qemu_extended_statuses`` and new
|
||||||
|
groups ``<group_prefix>prelaunch``, ``<group_prefix>paused``. They will be
|
||||||
|
populated only when ``want_facts=true``, ``qemu_extended_statuses=true`` and
|
||||||
|
only for ``QEMU`` machines (https://github.com/ansible-collections/community.general/pull/4723).
|
||||||
|
- puppet - adds ``confdir`` parameter to configure a custom confir location
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4740).
|
||||||
|
- xfconf - changed implementation to use ``cmd_runner`` (https://github.com/ansible-collections/community.general/pull/4776).
|
||||||
|
- xfconf module utils - created new module util ``xfconf`` providing a ``cmd_runner``
|
||||||
|
specific for ``xfconf`` modules (https://github.com/ansible-collections/community.general/pull/4776).
|
||||||
|
- xfconf_info - changed implementation to use ``cmd_runner`` (https://github.com/ansible-collections/community.general/pull/4776).
|
||||||
|
release_summary: Regular bugfix and feature release.
|
||||||
|
fragments:
|
||||||
|
- 4654-alternatives-add-subcommands.yml
|
||||||
|
- 4724-proxmox-qemu-extend.yaml
|
||||||
|
- 4736-cmd-runner-skip-if-check.yml
|
||||||
|
- 4740-puppet-feature.yaml
|
||||||
|
- 4746-add-vpn-support-nmcli.yaml
|
||||||
|
- 4752-ansible-galaxy-install-mh-updates.yml
|
||||||
|
- 4755-mhexception-improvement.yml
|
||||||
|
- 4776-xfconf-cmd-runner.yaml
|
||||||
|
- 4777-cmd-runner-deprecate-fmt.yaml
|
||||||
|
- 5.1.0.yml
|
||||||
|
modules:
|
||||||
|
- description: Retrieve GConf configurations
|
||||||
|
name: gconftool2_info
|
||||||
|
namespace: system
|
||||||
|
release_date: '2022-06-07'
|
||||||
|
5.1.1:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- alternatives - do not set the priority if the priority was not set by the
|
||||||
|
user (https://github.com/ansible-collections/community.general/pull/4810).
|
||||||
|
- alternatives - only pass subcommands when they are specified as module arguments
|
||||||
|
(https://github.com/ansible-collections/community.general/issues/4803, https://github.com/ansible-collections/community.general/issues/4804,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/4836).
|
||||||
|
- alternatives - when ``subcommands`` is specified, ``link`` must be given for
|
||||||
|
every subcommand. This was already mentioned in the documentation, but not
|
||||||
|
enforced by the code (https://github.com/ansible-collections/community.general/pull/4836).
|
||||||
|
- nmcli - fix error caused by adding undefined module arguments for list options
|
||||||
|
(https://github.com/ansible-collections/community.general/issues/4373, https://github.com/ansible-collections/community.general/pull/4813).
|
||||||
|
- proxmox inventory plugin - fixed extended status detection for qemu (https://github.com/ansible-collections/community.general/pull/4816).
|
||||||
|
- redhat_subscription - fix unsubscribing on RHEL 9 (https://github.com/ansible-collections/community.general/issues/4741).
|
||||||
|
- sudoers - ensure sudoers config files are created with the permissions requested
|
||||||
|
by sudoers (0440) (https://github.com/ansible-collections/community.general/pull/4814).
|
||||||
|
release_summary: Bugfix release.
|
||||||
|
fragments:
|
||||||
|
- 4809-redhat_subscription-unsubscribe.yaml
|
||||||
|
- 4810-alternatives-bug.yml
|
||||||
|
- 4813-fix-nmcli-convert-list.yaml
|
||||||
|
- 4814-sudoers-file-permissions.yml
|
||||||
|
- 4816-proxmox-fix-extended-status.yaml
|
||||||
|
- 4836-alternatives.yml
|
||||||
|
- 5.1.1.yml
|
||||||
|
release_date: '2022-06-14'
|
||||||
|
5.2.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_mount.py``.
|
||||||
|
- redfish_command - fix the check if a virtual media is unmounted to just check
|
||||||
|
for ``instered= false`` caused by Supermicro hardware that does not clear
|
||||||
|
the ``ImageName`` (https://github.com/ansible-collections/community.general/pull/4839).
|
||||||
|
- redfish_command - the Supermicro Redfish implementation only supports the
|
||||||
|
``image_url`` parameter in the underlying API calls to ``VirtualMediaInsert``
|
||||||
|
and ``VirtualMediaEject``. Any values set (or the defaults) for ``write_protected``
|
||||||
|
or ``inserted`` will be ignored (https://github.com/ansible-collections/community.general/pull/4839).
|
||||||
|
- 'sudoers - fix incorrect handling of ``state: absent`` (https://github.com/ansible-collections/community.general/issues/4852).'
|
||||||
|
minor_changes:
|
||||||
|
- cmd_runner module utils - add ``__call__`` method to invoke context (https://github.com/ansible-collections/community.general/pull/4791).
|
||||||
|
- passwordstore lookup plugin - allow using alternative password managers by
|
||||||
|
detecting wrapper scripts, allow explicit configuration of pass and gopass
|
||||||
|
backends (https://github.com/ansible-collections/community.general/issues/4766).
|
||||||
|
- sudoers - will attempt to validate the proposed sudoers rule using visudo
|
||||||
|
if available, optionally skipped, or required (https://github.com/ansible-collections/community.general/pull/4794,
|
||||||
|
https://github.com/ansible-collections/community.general/issues/4745).
|
||||||
|
release_summary: Regular bugfix and feature release.
|
||||||
|
fragments:
|
||||||
|
- 4780-passwordstore-wrapper-compat.yml
|
||||||
|
- 4791-cmd-runner-callable.yaml
|
||||||
|
- 4794-sudoers-validation.yml
|
||||||
|
- 4839-fix-VirtualMediaInsert-Supermicro.yml
|
||||||
|
- 4852-sudoers-state-absent.yml
|
||||||
|
- 5.2.0.yml
|
||||||
|
- psf-license.yml
|
||||||
|
modules:
|
||||||
|
- description: Set or delete a passphrase using the Operating System's native
|
||||||
|
keyring
|
||||||
|
name: keyring
|
||||||
|
namespace: system
|
||||||
|
- description: Get a passphrase using the Operating System's native keyring
|
||||||
|
name: keyring_info
|
||||||
|
namespace: system
|
||||||
|
- description: Scaleway compute - private network management
|
||||||
|
name: scaleway_compute_private_network
|
||||||
|
namespace: cloud.scaleway
|
||||||
|
release_date: '2022-06-21'
|
||||||
|
5.3.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- cmd_runner module utils - fix bug caused by using the ``command`` variable
|
||||||
|
instead of ``self.command`` when looking for binary path (https://github.com/ansible-collections/community.general/pull/4903).
|
||||||
|
- dsv lookup plugin - do not ignore the ``tld`` parameter (https://github.com/ansible-collections/community.general/pull/4911).
|
||||||
|
- lxd connection plugin - fix incorrect ``inventory_hostname`` in ``remote_addr``.
|
||||||
|
This is needed for compatibility with ansible-core 2.13 (https://github.com/ansible-collections/community.general/issues/4886).
|
||||||
|
- proxmox inventory plugin - fix crash when ``enabled=1`` is used in agent config
|
||||||
|
string (https://github.com/ansible-collections/community.general/pull/4910).
|
||||||
|
- rax_clb_nodes - fix code to be compatible with Python 3 (https://github.com/ansible-collections/community.general/pull/4933).
|
||||||
|
- redfish_info - fix to ``GetChassisPower`` to correctly report power information
|
||||||
|
when multiple chassis exist, but not all chassis report power information
|
||||||
|
(https://github.com/ansible-collections/community.general/issues/4901).
|
||||||
|
minor_changes:
|
||||||
|
- machinectl become plugin - can now be used with a password from another user
|
||||||
|
than root, if a polkit rule is present (https://github.com/ansible-collections/community.general/pull/4849).
|
||||||
|
- opentelemetry callback plugin - allow configuring opentelementry callback
|
||||||
|
via config file (https://github.com/ansible-collections/community.general/pull/4916).
|
||||||
|
- redfish_info - add ``GetManagerInventory`` to report list of Manager inventory
|
||||||
|
information (https://github.com/ansible-collections/community.general/issues/4899).
|
||||||
|
release_summary: Regular bugfix and feature release.
|
||||||
|
fragments:
|
||||||
|
- 4849-add-password-prompt-support-for-machinectl.yml
|
||||||
|
- 4886-fix-lxd-inventory-hostname.yml
|
||||||
|
- 4899-add-GetManagerInventory-for-redfish_info.yml
|
||||||
|
- 4901-fix-redfish-chassispower.yml
|
||||||
|
- 4903-cmdrunner-bugfix.yaml
|
||||||
|
- 4910-fix-for-agent-enabled.yml
|
||||||
|
- 4911-dsv-honor-tld-option.yml
|
||||||
|
- 4916-opentelemetry-ini-options.yaml
|
||||||
|
- 4933-fix-rax-clb-nodes.yaml
|
||||||
|
- 5.3.0.yml
|
||||||
|
release_date: '2022-07-12'
|
||||||
|
5.4.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- keyring_info - fix the result from the keyring library never getting returned
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4964).
|
||||||
|
- pacman - fixed name resolution of URL packages (https://github.com/ansible-collections/community.general/pull/4959).
|
||||||
|
- passwordstore lookup plugin - fix ``returnall`` for gopass (https://github.com/ansible-collections/community.general/pull/5027).
|
||||||
|
- passwordstore lookup plugin - fix password store path detection for gopass
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4955).
|
||||||
|
- proxmox - fix error handling when getting VM by name when ``state=absent``
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4945).
|
||||||
|
- proxmox_kvm - fix error handling when getting VM by name when ``state=absent``
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4945).
|
||||||
|
- slack - fix incorrect channel prefix ``#`` caused by incomplete pattern detection
|
||||||
|
by adding ``G0`` and ``GF`` as channel ID patterns (https://github.com/ansible-collections/community.general/pull/5019).
|
||||||
|
- xfconf - fix setting of boolean values (https://github.com/ansible-collections/community.general/issues/4999,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5007).
|
||||||
|
minor_changes:
|
||||||
|
- ModuleHelper module utils - added property ``verbosity`` to base class (https://github.com/ansible-collections/community.general/pull/5035).
|
||||||
|
- apk - add ``world`` parameter for supporting a custom world file (https://github.com/ansible-collections/community.general/pull/4976).
|
||||||
|
- consul - adds ``ttl`` parameter for session (https://github.com/ansible-collections/community.general/pull/4996).
|
||||||
|
- dig lookup plugin - add option ``fail_on_error`` to allow stopping execution
|
||||||
|
on lookup failures (https://github.com/ansible-collections/community.general/pull/4973).
|
||||||
|
- keycloak_* modules - add ``http_agent`` parameter with default value ``Ansible``
|
||||||
|
(https://github.com/ansible-collections/community.general/issues/5023).
|
||||||
|
- lastpass - use config manager for handling plugin options (https://github.com/ansible-collections/community.general/pull/5022).
|
||||||
|
- listen_ports_facts - add new ``include_non_listening`` option which adds ``-a``
|
||||||
|
option to ``netstat`` and ``ss``. This shows both listening and non-listening
|
||||||
|
(for TCP this means established connections) sockets, and returns ``state``
|
||||||
|
and ``foreign_address`` (https://github.com/ansible-collections/community.general/issues/4762,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/4953).
|
||||||
|
- maven_artifact - add a new ``unredirected_headers`` option that can be used
|
||||||
|
with ansible-core 2.12 and above. The default value is to not use ``Authorization``
|
||||||
|
and ``Cookie`` headers on redirects for security reasons. With ansible-core
|
||||||
|
2.11, all headers are still passed on for redirects (https://github.com/ansible-collections/community.general/pull/4812).
|
||||||
|
- pacman - added parameters ``reason`` and ``reason_for`` to set/change the
|
||||||
|
install reason of packages (https://github.com/ansible-collections/community.general/pull/4956).
|
||||||
|
- xfconf - add ``stdout``, ``stderr`` and ``cmd`` to the module results (https://github.com/ansible-collections/community.general/pull/5037).
|
||||||
|
- xfconf - use ``do_raise()`` instead of defining custom exception class (https://github.com/ansible-collections/community.general/pull/4975).
|
||||||
|
- xfconf_info - use ``do_raise()`` instead of defining custom exception class
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/4975).
|
||||||
|
release_summary: Regular bugfix and feature release.
|
||||||
|
fragments:
|
||||||
|
- 4812-expose-unredirected-headers.yml
|
||||||
|
- 4945-fix-get_vm-int-parse-handling.yaml
|
||||||
|
- 4953-listen-ports-facts-extend-output.yaml
|
||||||
|
- 4955-fix-path-detection-for-gopass.yaml
|
||||||
|
- 4956-pacman-install-reason.yaml
|
||||||
|
- 4959-pacman-fix-url-packages-name.yaml
|
||||||
|
- 4964-fix-keyring-info.yml
|
||||||
|
- 4973-introduce-dig-lookup-argument.yaml
|
||||||
|
- 4975-xfconf-use-do-raise.yaml
|
||||||
|
- 4976-apk-add-support-for-a-custom-world-file.yaml
|
||||||
|
- 4996-consul-session-ttl.yml
|
||||||
|
- 4999-xfconf-bool.yml
|
||||||
|
- 5.4.0.yml
|
||||||
|
- 5019-slack-support-more-groups.yml
|
||||||
|
- 5022-lastpass-lookup-cleanup.yml
|
||||||
|
- 5023-http-agent-param-keycloak.yml
|
||||||
|
- 5027-fix-returnall-for-gopass.yaml
|
||||||
|
- 5035-mh-base-verbosity.yaml
|
||||||
|
- 5037-xfconf-add-cmd-output.yaml
|
||||||
|
modules:
|
||||||
|
- description: Manages WDC UltraStar Data102 Out-Of-Band controllers using Redfish
|
||||||
|
APIs
|
||||||
|
name: wdc_redfish_command
|
||||||
|
namespace: remote_management.redfish
|
||||||
|
- description: Manages WDC UltraStar Data102 Out-Of-Band controllers using Redfish
|
||||||
|
APIs
|
||||||
|
name: wdc_redfish_info
|
||||||
|
namespace: remote_management.redfish
|
||||||
|
plugins:
|
||||||
|
lookup:
|
||||||
|
- description: Retrieve secrets from Bitwarden
|
||||||
|
name: bitwarden
|
||||||
|
namespace: null
|
||||||
|
release_date: '2022-08-02'
|
||||||
|
5.5.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- apache2_mod_proxy - avoid crash when reporting inability to parse balancer_member_page
|
||||||
|
HTML caused by using an undefined variable in the error message (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- dig lookup plugin - fix evaluation of falsy values for boolean parameters
|
||||||
|
``fail_on_error`` and ``retry_servfail`` (https://github.com/ansible-collections/community.general/pull/5129).
|
||||||
|
- dnsimple_info - correctly report missing library as ``requests`` and not ``another_library``
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- funcd connection plugin - fix signature of ``exec_command`` (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- manageiq_alert_profiles - avoid crash when reporting unknown profile caused
|
||||||
|
by trying to return an undefined variable (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- nsupdate - compatibility with NS records (https://github.com/ansible-collections/community.general/pull/5112).
|
||||||
|
- packet_ip_subnet - fix error reporting in case of invalid CIDR prefix lengths
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- pip_package_info - remove usage of global variable (https://github.com/ansible-collections/community.general/pull/5111).
|
||||||
|
- proxmox_kvm - fix wrong condition (https://github.com/ansible-collections/community.general/pull/5108).
|
||||||
|
minor_changes:
|
||||||
|
- Added MIT license as ``LICENSES/MIT.txt`` for tests/unit/plugins/modules/packaging/language/test_gem.py
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5065).
|
||||||
|
- All software licenses are now in the ``LICENSES/`` directory of the collection
|
||||||
|
root (https://github.com/ansible-collections/community.general/pull/5065,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5079, https://github.com/ansible-collections/community.general/pull/5080,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5083, https://github.com/ansible-collections/community.general/pull/5087,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5095, https://github.com/ansible-collections/community.general/pull/5098,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5106).
|
||||||
|
- The collection repository conforms to the `REUSE specification <https://reuse.software/spec/>`__
|
||||||
|
except for the changelog fragments (https://github.com/ansible-collections/community.general/pull/5138).
|
||||||
|
- pipx - added state ``latest`` to the module (https://github.com/ansible-collections/community.general/pull/5105).
|
||||||
|
- pipx - changed implementation to use ``cmd_runner`` (https://github.com/ansible-collections/community.general/pull/5085).
|
||||||
|
- pipx - module fails faster when ``name`` is missing for states ``upgrade``
|
||||||
|
and ``reinstall`` (https://github.com/ansible-collections/community.general/pull/5100).
|
||||||
|
- pipx module utils - created new module util ``pipx`` providing a ``cmd_runner``
|
||||||
|
specific for the ``pipx`` module (https://github.com/ansible-collections/community.general/pull/5085).
|
||||||
|
- proxmox_kvm - allow ``agent`` argument to be a string (https://github.com/ansible-collections/community.general/pull/5107).
|
||||||
|
- wdc_redfish_command - add ``IndicatorLedOn`` and ``IndicatorLedOff`` commands
|
||||||
|
for ``Chassis`` category (https://github.com/ansible-collections/community.general/pull/5059).
|
||||||
|
release_summary: Feature and bugfix release.
|
||||||
|
fragments:
|
||||||
|
- 5.5.0.yml
|
||||||
|
- 5059-wdc_redfish_command-indicator-leds.yml
|
||||||
|
- 5085-pipx-use-cmd-runner.yaml
|
||||||
|
- 5100-pipx-req-if.yaml
|
||||||
|
- 5105-pipx-state-latest.yaml
|
||||||
|
- 5107-proxmox-agent-argument.yaml
|
||||||
|
- 5108-proxmox-node-name-condition.yml
|
||||||
|
- 5111-fixes.yml
|
||||||
|
- 5112-fix-nsupdate-ns-entry.yaml
|
||||||
|
- 5129-dig-boolean-params-fix.yml
|
||||||
|
- licenses-2.yml
|
||||||
|
- licenses.yml
|
||||||
|
release_date: '2022-08-23'
|
||||||
|
5.6.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- listen_ports_facts - removed leftover ``EnvironmentError`` . The ``else``
|
||||||
|
clause had a wrong indentation. The check is now handled in the ``split_pid_name``
|
||||||
|
function (https://github.com/ansible-collections/community.general/pull/5202).
|
||||||
|
- nmcli - avoid changed status for most cases with VPN connections (https://github.com/ansible-collections/community.general/pull/5126).
|
||||||
|
- osx_defaults - no longer expand ``~`` in ``value`` to the user's home directory,
|
||||||
|
or expand environment variables (https://github.com/ansible-collections/community.general/issues/5234,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5243).
|
||||||
|
- proxmox_kvm - fix exception when no ``agent`` argument is specified (https://github.com/ansible-collections/community.general/pull/5194).
|
||||||
|
- proxmox_kvm - replace new condition with proper condition to allow for using
|
||||||
|
``vmid`` on update (https://github.com/ansible-collections/community.general/pull/5206).
|
||||||
|
- slack - fix message update for channels which start with ``CP``. When ``message-id``
|
||||||
|
was passed it failed for channels which started with ``CP`` because the ``#``
|
||||||
|
symbol was added before the ``channel_id`` (https://github.com/ansible-collections/community.general/pull/5249).
|
||||||
|
- tss lookup plugin - adding support for updated Delinea library (https://github.com/DelineaXPM/python-tss-sdk/issues/9,
|
||||||
|
https://github.com/ansible-collections/community.general/pull/5151).
|
||||||
|
deprecated_features:
|
||||||
|
- proxmox - deprecated the current ``unprivileged`` default value, will be changed
|
||||||
|
to ``true`` in community.general 7.0.0 (https://github.com/pull/5224).
|
||||||
|
minor_changes:
|
||||||
|
- ali_instance - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5240).
|
||||||
|
- ali_instance_info - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5240).
|
||||||
|
- consul_session - adds ``token`` parameter for session (https://github.com/ansible-collections/community.general/pull/5193).
|
||||||
|
- gitlab module util - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_branch - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_deploy_key - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_group - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_group_members - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_group_variable - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_hook - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_hook - minor refactoring (https://github.com/ansible-collections/community.general/pull/5271).
|
||||||
|
- gitlab_project - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_project_members - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_project_variable - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_protected_branch - minor refactor when checking for installed dependency
|
||||||
|
(https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_runner - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- gitlab_user - minor refactor when checking for installed dependency (https://github.com/ansible-collections/community.general/pull/5259).
|
||||||
|
- homebrew, homebrew_tap - added Homebrew on Linux path to defaults (https://github.com/ansible-collections/community.general/pull/5241).
|
||||||
|
- nagios - minor refactoring on parameter validation for different actions (https://github.com/ansible-collections/community.general/pull/5239).
|
||||||
|
- nmcli - add bond option ``xmit_hash_policy`` to bond options (https://github.com/ansible-collections/community.general/issues/5148).
|
||||||
|
- nmcli - honor IP options for VPNs (https://github.com/ansible-collections/community.general/pull/5228).
|
||||||
|
- redfish - added new command GetVirtualMedia, VirtualMediaInsert and VirtualMediaEject
|
||||||
|
to Systems category due to Redfish spec changes the virtualMedia resource
|
||||||
|
location from Manager to System (https://github.com/ansible-collections/community.general/pull/5124).
|
||||||
|
- seport - added new argument ``local`` (https://github.com/ansible-collections/community.general/pull/5203)
|
||||||
|
- wdc_redfish_command - add ``PowerModeLow`` and ``PowerModeNormal`` commands
|
||||||
|
for ``Chassis`` category (https://github.com/ansible-collections/community.general/pull/5145).
|
||||||
|
release_summary: Regular bugfix and feature release.
|
||||||
|
fragments:
|
||||||
|
- 5.6.0.yml
|
||||||
|
- 5124-compatibility-virtualmedia-resource-location.yaml
|
||||||
|
- 5126-nmcli-remove-diffs.yml
|
||||||
|
- 5145-wdc-redfish-enclosure-power-state.yml
|
||||||
|
- 5149-nmcli-bond-option.yml
|
||||||
|
- 5151-add-delinea-support-tss-lookup.yml
|
||||||
|
- 5193-consul-session-token.yaml
|
||||||
|
- 5194-fix-proxmox-agent-exception.yaml
|
||||||
|
- 5202-bugfix-environmentError-wrong-indentation.yaml
|
||||||
|
- 5203-seport-add-local-argument.yaml
|
||||||
|
- 5206-proxmox-conditional-vmid.yml
|
||||||
|
- 5224-proxmox-unprivileged-default.yaml
|
||||||
|
- 5228-nmcli-ip-options.yaml
|
||||||
|
- 5239-nagios-refactor.yaml
|
||||||
|
- 5240-unused-imports.yaml
|
||||||
|
- 5241-homebrew-add-linux-path.yaml
|
||||||
|
- 5243-osx-defaults-expand-user-flags.yml
|
||||||
|
- 5249-add-new-channel-prefix.yml
|
||||||
|
- 5259-gitlab-imports.yaml
|
||||||
|
- 5271-gitlab_hook-refactor.yaml
|
||||||
|
modules:
|
||||||
|
- description: Rretrieves information about applications installed with pipx
|
||||||
|
name: pipx_info
|
||||||
|
namespace: packaging.language
|
||||||
|
release_date: '2022-09-13'
|
||||||
|
5.7.0:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- ini_file - minor refactor fixing a python lint error (https://github.com/ansible-collections/community.general/pull/5307).
|
||||||
|
- locale_gen - fix support for Ubuntu (https://github.com/ansible-collections/community.general/issues/5281).
|
||||||
|
- lxc_container - the module has been updated to support Python 3 (https://github.com/ansible-collections/community.general/pull/5304).
|
||||||
|
- 'nmcli - fix error when setting previously unset MAC address, ``gsm.apn``
|
||||||
|
or ``vpn.data``: current values were being normalized without checking if
|
||||||
|
they might be ``None`` (https://github.com/ansible-collections/community.general/pull/5291).'
|
||||||
|
- redhat_subscription - make module idempotent when ``pool_ids`` are used (https://github.com/ansible-collections/community.general/issues/5313).
|
||||||
|
deprecated_features:
|
||||||
|
- lxc_container - the module will no longer make any effort to support Python
|
||||||
|
2 (https://github.com/ansible-collections/community.general/pull/5304).
|
||||||
|
minor_changes:
|
||||||
|
- bitwarden lookup plugin - add option ``search`` to search for other attributes
|
||||||
|
than name (https://github.com/ansible-collections/community.general/pull/5297).
|
||||||
|
- machinectl become plugin - combine the success command when building the become
|
||||||
|
command to be consistent with other become plugins (https://github.com/ansible-collections/community.general/pull/5287).
|
||||||
|
- netcup_dnsapi - add ``timeout`` parameter (https://github.com/ansible-collections/community.general/pull/5301).
|
||||||
|
- proxmox module utils, the proxmox* modules - add ``api_task_ok`` helper to
|
||||||
|
standardize API task status checks across all proxmox modules (https://github.com/ansible-collections/community.general/pull/5274).
|
||||||
|
- proxmox_snap - add ``unbind`` param to support snapshotting containers with
|
||||||
|
configured mountpoints (https://github.com/ansible-collections/community.general/pull/5274).
|
||||||
|
- redfish_config - add ``SetSessionService`` to set default session timeout
|
||||||
|
policy (https://github.com/ansible-collections/community.general/issues/5008).
|
||||||
|
- terraform - adds capability to handle complex variable structures for ``variables``
|
||||||
|
parameter in the module. This must be enabled with the new ``complex_vars``
|
||||||
|
parameter (https://github.com/ansible-collections/community.general/pull/4797).
|
||||||
|
- terraform - run ``terraform init`` with ``-no-color`` not to mess up the stdout
|
||||||
|
of the task (https://github.com/ansible-collections/community.general/pull/5147).
|
||||||
|
release_summary: Regular feature and bugfix release.
|
||||||
|
fragments:
|
||||||
|
- 4797-terraform-complex-variables.yml
|
||||||
|
- 5.7.0.yml
|
||||||
|
- 5008-addSetSessionService.yml
|
||||||
|
- 5147-terraform-init-no-color.yml
|
||||||
|
- 5274-proxmox-snap-container-with-mountpoints.yml
|
||||||
|
- 5280-lxc_container-py3.yaml
|
||||||
|
- 5282-locale_gen.yaml
|
||||||
|
- 5287-machinectl-become-success.yml
|
||||||
|
- 5291-fix-nmcli-error-when-setting-unset-mac-address.yaml
|
||||||
|
- 5297-bitwarden-add-search-field.yml
|
||||||
|
- 5301-netcup_dnsapi-timeout.yml
|
||||||
|
- 5307-ini_file-lint.yaml
|
||||||
|
- 5313-fix-redhat_subscription-idempotency-pool_ids.yml
|
||||||
|
modules:
|
||||||
|
- description: Allows administration of Keycloak user_rolemapping with the Keycloak
|
||||||
|
API
|
||||||
|
name: keycloak_user_rolemapping
|
||||||
|
namespace: identity.keycloak
|
||||||
|
- description: Management of a disk of a Qemu(KVM) VM in a Proxmox VE cluster.
|
||||||
|
name: proxmox_disk
|
||||||
|
namespace: cloud.misc
|
||||||
|
release_date: '2022-10-04'
|
||||||
|
|||||||
3
changelogs/changelog.yaml.license
Normal file
3
changelogs/changelog.yaml.license
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
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
|
||||||
|
SPDX-FileCopyrightText: Ansible Project
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
<!--
|
||||||
|
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
|
||||||
|
-->
|
||||||
|
|
||||||
Committers Guidelines for community.general
|
Committers Guidelines for community.general
|
||||||
===========================================
|
===========================================
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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') }}"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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') }}"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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) }}"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
{% for i in examples %}
|
{% for i in examples %}
|
||||||
{{ i.label }}
|
{{ i.label }}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Merging lists of dictionaries
|
Merging lists of dictionaries
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
list3:
|
||||||
{{ list3|to_nice_yaml(indent=0) }}
|
{{ list3|to_nice_yaml(indent=0) }}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
.. _ansible_collections.community.general.docsite.filter_guide:
|
.. _ansible_collections.community.general.docsite.filter_guide:
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Abstract transformations
|
Abstract transformations
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Counting elements in a sequence
|
Counting elements in a sequence
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Dictionaries
|
Dictionaries
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Grouping
|
Grouping
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Merging lists of dictionaries
|
Merging lists of dictionaries
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Conversions
|
Conversions
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Creating identifiers
|
Creating identifiers
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Paths
|
Paths
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
.. _ansible_collections.community.general.docsite.json_query_filter:
|
.. _ansible_collections.community.general.docsite.json_query_filter:
|
||||||
|
|
||||||
Selecting JSON data: JSON queries
|
Selecting JSON data: JSON queries
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Working with times
|
Working with times
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Working with Unicode
|
Working with Unicode
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Working with versions
|
Working with versions
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
.. _ansible_collections.community.general.docsite.test_guide:
|
.. _ansible_collections.community.general.docsite.test_guide:
|
||||||
|
|
||||||
community.general Test (Plugin) Guide
|
community.general Test (Plugin) Guide
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
|
---
|
||||||
|
# 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.0.2
|
version: 5.7.0
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Ansible (https://github.com/ansible)
|
- Ansible (https://github.com/ansible)
|
||||||
|
|||||||
@@ -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:
|
||||||
@@ -292,6 +296,8 @@ plugin_routing:
|
|||||||
redirect: community.google.gce_tag
|
redirect: community.google.gce_tag
|
||||||
gconftool2:
|
gconftool2:
|
||||||
redirect: community.general.system.gconftool2
|
redirect: community.general.system.gconftool2
|
||||||
|
gconftool2_info:
|
||||||
|
redirect: community.general.system.gconftool2_info
|
||||||
gcp_backend_service:
|
gcp_backend_service:
|
||||||
tombstone:
|
tombstone:
|
||||||
removal_version: 2.0.0
|
removal_version: 2.0.0
|
||||||
@@ -606,6 +612,12 @@ plugin_routing:
|
|||||||
redirect: community.general.identity.keycloak.keycloak_role
|
redirect: community.general.identity.keycloak.keycloak_role
|
||||||
keycloak_user_federation:
|
keycloak_user_federation:
|
||||||
redirect: community.general.identity.keycloak.keycloak_user_federation
|
redirect: community.general.identity.keycloak.keycloak_user_federation
|
||||||
|
keycloak_user_rolemapping:
|
||||||
|
redirect: community.general.identity.keycloak.keycloak_user_rolemapping
|
||||||
|
keyring:
|
||||||
|
redirect: community.general.system.keyring
|
||||||
|
keyring_info:
|
||||||
|
redirect: community.general.system.keyring_info
|
||||||
kibana_plugin:
|
kibana_plugin:
|
||||||
redirect: community.general.database.misc.kibana_plugin
|
redirect: community.general.database.misc.kibana_plugin
|
||||||
kubevirt_cdi_upload:
|
kubevirt_cdi_upload:
|
||||||
@@ -1121,6 +1133,8 @@ plugin_routing:
|
|||||||
redirect: community.general.packaging.language.pip_package_info
|
redirect: community.general.packaging.language.pip_package_info
|
||||||
pipx:
|
pipx:
|
||||||
redirect: community.general.packaging.language.pipx
|
redirect: community.general.packaging.language.pipx
|
||||||
|
pipx_info:
|
||||||
|
redirect: community.general.packaging.language.pipx_info
|
||||||
pkg5:
|
pkg5:
|
||||||
redirect: community.general.packaging.os.pkg5
|
redirect: community.general.packaging.os.pkg5
|
||||||
pkg5_publisher:
|
pkg5_publisher:
|
||||||
@@ -1201,6 +1215,8 @@ plugin_routing:
|
|||||||
redirect: community.general.cloud.profitbricks.profitbricks_volume_attachments
|
redirect: community.general.cloud.profitbricks.profitbricks_volume_attachments
|
||||||
proxmox:
|
proxmox:
|
||||||
redirect: community.general.cloud.misc.proxmox
|
redirect: community.general.cloud.misc.proxmox
|
||||||
|
proxmox_disk:
|
||||||
|
redirect: community.general.cloud.misc.proxmox_disk
|
||||||
proxmox_domain_info:
|
proxmox_domain_info:
|
||||||
redirect: community.general.cloud.misc.proxmox_domain_info
|
redirect: community.general.cloud.misc.proxmox_domain_info
|
||||||
proxmox_group_info:
|
proxmox_group_info:
|
||||||
@@ -1355,6 +1371,8 @@ plugin_routing:
|
|||||||
redirect: community.general.notification.say
|
redirect: community.general.notification.say
|
||||||
scaleway_compute:
|
scaleway_compute:
|
||||||
redirect: community.general.cloud.scaleway.scaleway_compute
|
redirect: community.general.cloud.scaleway.scaleway_compute
|
||||||
|
scaleway_compute_private_network:
|
||||||
|
redirect: community.general.cloud.scaleway.scaleway_compute_private_network
|
||||||
scaleway_database_backup:
|
scaleway_database_backup:
|
||||||
redirect: community.general.cloud.scaleway.scaleway_database_backup
|
redirect: community.general.cloud.scaleway.scaleway_database_backup
|
||||||
scaleway_image_facts:
|
scaleway_image_facts:
|
||||||
@@ -1597,6 +1615,10 @@ plugin_routing:
|
|||||||
redirect: community.general.cloud.smartos.vmadm
|
redirect: community.general.cloud.smartos.vmadm
|
||||||
wakeonlan:
|
wakeonlan:
|
||||||
redirect: community.general.remote_management.wakeonlan
|
redirect: community.general.remote_management.wakeonlan
|
||||||
|
wdc_redfish_command:
|
||||||
|
redirect: community.general.remote_management.redfish.wdc_redfish_command
|
||||||
|
wdc_redfish_info:
|
||||||
|
redirect: community.general.remote_management.redfish.wdc_redfish_info
|
||||||
webfaction_app:
|
webfaction_app:
|
||||||
redirect: community.general.cloud.webfaction.webfaction_app
|
redirect: community.general.cloud.webfaction.webfaction_app
|
||||||
webfaction_db:
|
webfaction_db:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2020, quidame <quidame@poivron.org>
|
# Copyright (c) 2020, quidame <quidame@poivron.org>
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import absolute_import, division, print_function
|
from __future__ import absolute_import, division, print_function
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2020, Amin Vakil <info@aminvakil.com>
|
# Copyright (c) 2020, Amin Vakil <info@aminvakil.com>
|
||||||
# Copyright: (c) 2016-2018, Matt Davis <mdavis@ansible.com>
|
# Copyright (c) 2016-2018, Matt Davis <mdavis@ansible.com>
|
||||||
# Copyright: (c) 2018, Sam Doran <sdoran@redhat.com>
|
# Copyright (c) 2018, Sam Doran <sdoran@redhat.com>
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -54,7 +55,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_DOAS_FLAGS
|
- name: ANSIBLE_DOAS_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: password for doas prompt
|
description: password for doas prompt
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# Copyright (c) 2018, 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -53,7 +55,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_DZDO_FLAGS
|
- name: ANSIBLE_DZDO_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: Options to pass to dzdo
|
description: Options to pass to dzdo
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -24,7 +25,7 @@ DOCUMENTATION = '''
|
|||||||
env:
|
env:
|
||||||
- name: ANSIBLE_BECOME_USER
|
- name: ANSIBLE_BECOME_USER
|
||||||
- name: ANSIBLE_KSU_USER
|
- name: ANSIBLE_KSU_USER
|
||||||
required: True
|
required: true
|
||||||
become_exe:
|
become_exe:
|
||||||
description: Su executable
|
description: Su executable
|
||||||
default: ksu
|
default: ksu
|
||||||
@@ -55,7 +56,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_KSU_FLAGS
|
- name: ANSIBLE_KSU_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: ksu password
|
description: ksu password
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_ksu_pass
|
- name: ansible_ksu_pass
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -55,7 +56,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_MACHINECTL_FLAGS
|
- name: ANSIBLE_MACHINECTL_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: Password for machinectl
|
description: Password for machinectl
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
@@ -66,15 +67,46 @@ DOCUMENTATION = '''
|
|||||||
ini:
|
ini:
|
||||||
- section: machinectl_become_plugin
|
- section: machinectl_become_plugin
|
||||||
key: password
|
key: password
|
||||||
|
notes:
|
||||||
|
- When not using this plugin with user C(root), it only works correctly with a polkit rule which will alter
|
||||||
|
the behaviour of machinectl. This rule must alter the prompt behaviour to ask directly for the user credentials,
|
||||||
|
if the user is allowed to perform the action (take a look at the examples section).
|
||||||
|
If such a rule is not present the plugin only work if it is used in context with the root user,
|
||||||
|
because then no further prompt will be shown by machinectl.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
EXAMPLES = r'''
|
||||||
|
# A polkit rule needed to use the module with a non-root user.
|
||||||
|
# See the Notes section for details.
|
||||||
|
60-machinectl-fast-user-auth.rules: |
|
||||||
|
polkit.addRule(function(action, subject) {
|
||||||
|
if(action.id == "org.freedesktop.machine1.host-shell" && subject.isInGroup("wheel")) {
|
||||||
|
return polkit.Result.AUTH_SELF_KEEP;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
'''
|
||||||
|
|
||||||
|
from re import compile as re_compile
|
||||||
|
|
||||||
from ansible.plugins.become import BecomeBase
|
from ansible.plugins.become import BecomeBase
|
||||||
|
from ansible.module_utils._text import to_bytes
|
||||||
|
|
||||||
|
|
||||||
|
ansi_color_codes = re_compile(to_bytes(r'\x1B\[[0-9;]+m'))
|
||||||
|
|
||||||
|
|
||||||
class BecomeModule(BecomeBase):
|
class BecomeModule(BecomeBase):
|
||||||
|
|
||||||
name = 'community.general.machinectl'
|
name = 'community.general.machinectl'
|
||||||
|
|
||||||
|
prompt = 'Password: '
|
||||||
|
fail = ('==== AUTHENTICATION FAILED ====',)
|
||||||
|
success = ('==== AUTHENTICATION COMPLETE ====',)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def remove_ansi_codes(line):
|
||||||
|
return ansi_color_codes.sub(b"", line)
|
||||||
|
|
||||||
def build_become_command(self, cmd, shell):
|
def build_become_command(self, cmd, shell):
|
||||||
super(BecomeModule, self).build_become_command(cmd, shell)
|
super(BecomeModule, self).build_become_command(cmd, shell)
|
||||||
|
|
||||||
@@ -85,4 +117,16 @@ class BecomeModule(BecomeBase):
|
|||||||
|
|
||||||
flags = self.get_option('become_flags')
|
flags = self.get_option('become_flags')
|
||||||
user = self.get_option('become_user')
|
user = self.get_option('become_user')
|
||||||
return '%s -q shell %s %s@ %s' % (become, flags, user, cmd)
|
return '%s -q shell %s %s@ %s' % (become, flags, user, self._build_success_command(cmd, shell))
|
||||||
|
|
||||||
|
def check_success(self, b_output):
|
||||||
|
b_output = self.remove_ansi_codes(b_output)
|
||||||
|
return super().check_success(b_output)
|
||||||
|
|
||||||
|
def check_incorrect_password(self, b_output):
|
||||||
|
b_output = self.remove_ansi_codes(b_output)
|
||||||
|
return super().check_incorrect_password(b_output)
|
||||||
|
|
||||||
|
def check_missing_password(self, b_output):
|
||||||
|
b_output = self.remove_ansi_codes(b_output)
|
||||||
|
return super().check_missing_password(b_output)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -55,7 +56,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_PBRUN_FLAGS
|
- name: ANSIBLE_PBRUN_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: Password for pbrun
|
description: Password for pbrun
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
@@ -68,7 +69,7 @@ DOCUMENTATION = '''
|
|||||||
key: password
|
key: password
|
||||||
wrap_exe:
|
wrap_exe:
|
||||||
description: Toggle to wrap the command pbrun calls in 'shell -c' or not
|
description: Toggle to wrap the command pbrun calls in 'shell -c' or not
|
||||||
default: False
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
ini:
|
ini:
|
||||||
- section: pbrun_become_plugin
|
- section: pbrun_become_plugin
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -58,7 +59,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_PFEXEC_FLAGS
|
- name: ANSIBLE_PFEXEC_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: pfexec password
|
description: pfexec password
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
@@ -71,7 +72,7 @@ DOCUMENTATION = '''
|
|||||||
key: password
|
key: password
|
||||||
wrap_exe:
|
wrap_exe:
|
||||||
description: Toggle to wrap the command pfexec calls in 'shell -c' or not
|
description: Toggle to wrap the command pfexec calls in 'shell -c' or not
|
||||||
default: False
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
ini:
|
ini:
|
||||||
- section: pfexec_become_plugin
|
- section: pfexec_become_plugin
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -41,7 +42,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_PMRUN_FLAGS
|
- name: ANSIBLE_PMRUN_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: pmrun password
|
description: pmrun password
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2018, Ansible Project
|
# Copyright (c) 2018, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -55,7 +56,7 @@ DOCUMENTATION = '''
|
|||||||
- name: ANSIBLE_SESU_FLAGS
|
- name: ANSIBLE_SESU_FLAGS
|
||||||
become_pass:
|
become_pass:
|
||||||
description: Password to pass to sesu
|
description: Password to pass to sesu
|
||||||
required: False
|
required: false
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_become_password
|
- name: ansible_become_password
|
||||||
- name: ansible_become_pass
|
- name: ansible_become_pass
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright: (c) 2021, Ansible Project
|
# Copyright (c) 2021, Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -8,9 +9,9 @@ DOCUMENTATION = """
|
|||||||
name: sudosu
|
name: sudosu
|
||||||
short_description: Run tasks using sudo su -
|
short_description: Run tasks using sudo su -
|
||||||
description:
|
description:
|
||||||
- This become plugins allows your remote/login user to execute commands as another user via the C(sudo) and C(su) utilities combined.
|
- This become plugin allows your remote/login user to execute commands as another user via the C(sudo) and C(su) utilities combined.
|
||||||
author:
|
author:
|
||||||
- Dag Wieers (@dagwieers)
|
- Dag Wieers (@dagwieers)
|
||||||
version_added: 2.4.0
|
version_added: 2.4.0
|
||||||
options:
|
options:
|
||||||
become_user:
|
become_user:
|
||||||
|
|||||||
7
plugins/cache/memcached.py
vendored
7
plugins/cache/memcached.py
vendored
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2014, Brian Coca, Josh Drake, et al
|
# Copyright (c) 2014, Brian Coca, Josh Drake, et al
|
||||||
# (c) 2017 Ansible Project
|
# Copyright (c) 2017 Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|||||||
9
plugins/cache/pickle.py
vendored
9
plugins/cache/pickle.py
vendored
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2017, Brian Coca
|
# Copyright (c) 2017, Brian Coca
|
||||||
# (c) 2017 Ansible Project
|
# Copyright (c) 2017 Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
# Make coding more python3-ish
|
# Make coding more python3-ish
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
@@ -15,7 +16,7 @@ DOCUMENTATION = '''
|
|||||||
author: Brian Coca (@bcoca)
|
author: Brian Coca (@bcoca)
|
||||||
options:
|
options:
|
||||||
_uri:
|
_uri:
|
||||||
required: True
|
required: true
|
||||||
description:
|
description:
|
||||||
- Path in which the cache plugin will save the files
|
- Path in which the cache plugin will save the files
|
||||||
env:
|
env:
|
||||||
|
|||||||
9
plugins/cache/redis.py
vendored
9
plugins/cache/redis.py
vendored
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2014, Brian Coca, Josh Drake, et al
|
# Copyright (c) 2014, Brian Coca, Josh Drake, et al
|
||||||
# (c) 2017 Ansible Project
|
# Copyright (c) 2017 Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
@@ -20,7 +21,7 @@ DOCUMENTATION = '''
|
|||||||
- The format is C(host:port:db:password), for example C(localhost:6379:0:changeme).
|
- The format is C(host:port:db:password), for example C(localhost:6379:0:changeme).
|
||||||
- To use encryption in transit, prefix the connection with C(tls://), as in C(tls://localhost:6379:0:changeme).
|
- To use encryption in transit, prefix the connection with C(tls://), as in C(tls://localhost:6379:0:changeme).
|
||||||
- To use redis sentinel, use separator C(;), for example C(localhost:26379;localhost:26379;0:changeme). Requires redis>=2.9.0.
|
- To use redis sentinel, use separator C(;), for example C(localhost:26379;localhost:26379;0:changeme). Requires redis>=2.9.0.
|
||||||
required: True
|
required: true
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
||||||
ini:
|
ini:
|
||||||
|
|||||||
9
plugins/cache/yaml.py
vendored
9
plugins/cache/yaml.py
vendored
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2017, Brian Coca
|
# Copyright (c) 2017, Brian Coca
|
||||||
# (c) 2017 Ansible Project
|
# Copyright (c) 2017 Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
# Make coding more python3-ish
|
# Make coding more python3-ish
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
@@ -15,7 +16,7 @@ DOCUMENTATION = '''
|
|||||||
author: Brian Coca (@bcoca)
|
author: Brian Coca (@bcoca)
|
||||||
options:
|
options:
|
||||||
_uri:
|
_uri:
|
||||||
required: True
|
required: true
|
||||||
description:
|
description:
|
||||||
- Path in which the cache plugin will save the files
|
- Path in which the cache plugin will save the files
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2018 Matt Martz <matt@sivel.net>
|
# Copyright (c) 2018 Matt Martz <matt@sivel.net>
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
# Make coding more python3-ish
|
# Make coding more python3-ish
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
@@ -22,7 +23,7 @@ DOCUMENTATION = '''
|
|||||||
- To create the cgroup, first use a command such as C(sudo cgcreate -a ec2-user:ec2-user -t ec2-user:ec2-user -g memory:ansible_profile)
|
- To create the cgroup, first use a command such as C(sudo cgcreate -a ec2-user:ec2-user -t ec2-user:ec2-user -g memory:ansible_profile)
|
||||||
options:
|
options:
|
||||||
max_mem_file:
|
max_mem_file:
|
||||||
required: True
|
required: true
|
||||||
description: Path to cgroups C(memory.max_usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.max_usage_in_bytes)
|
description: Path to cgroups C(memory.max_usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.max_usage_in_bytes)
|
||||||
env:
|
env:
|
||||||
- name: CGROUP_MAX_MEM_FILE
|
- name: CGROUP_MAX_MEM_FILE
|
||||||
@@ -30,7 +31,7 @@ DOCUMENTATION = '''
|
|||||||
- section: callback_cgroupmemrecap
|
- section: callback_cgroupmemrecap
|
||||||
key: max_mem_file
|
key: max_mem_file
|
||||||
cur_mem_file:
|
cur_mem_file:
|
||||||
required: True
|
required: true
|
||||||
description: Path to C(memory.usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.usage_in_bytes)
|
description: Path to C(memory.usage_in_bytes) file. Example C(/sys/fs/cgroup/memory/ansible_profile/memory.usage_in_bytes)
|
||||||
env:
|
env:
|
||||||
- name: CGROUP_CUR_MEM_FILE
|
- name: CGROUP_CUR_MEM_FILE
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (C) 2012, Michael DeHaan, <michael.dehaan@gmail.com>
|
# Copyright (C) 2012, Michael DeHaan, <michael.dehaan@gmail.com>
|
||||||
# (c) 2017 Ansible Project
|
# Copyright (c) 2017 Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2018, Ivan Aragones Muniesa <ivan.aragones.muniesa@gmail.com>
|
# Copyright (c) 2018, Ivan Aragones Muniesa <ivan.aragones.muniesa@gmail.com>
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
'''
|
'''
|
||||||
Counter enabled Ansible callback plugin (See DOCUMENTATION for more information)
|
Counter enabled Ansible callback plugin (See DOCUMENTATION for more information)
|
||||||
'''
|
'''
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# (c) 2016, Dag Wieers <dag@wieers.com>
|
# Copyright (c) 2016, Dag Wieers <dag@wieers.com>
|
||||||
# (c) 2017 Ansible Project
|
# Copyright (c) 2017 Ansible Project
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
@@ -232,13 +233,13 @@ class CallbackModule(CallbackModule_default):
|
|||||||
# Remove non-essential attributes
|
# Remove non-essential attributes
|
||||||
for attr in self.removed_attributes:
|
for attr in self.removed_attributes:
|
||||||
if attr in result:
|
if attr in result:
|
||||||
del(result[attr])
|
del result[attr]
|
||||||
|
|
||||||
# Remove empty attributes (list, dict, str)
|
# Remove empty attributes (list, dict, str)
|
||||||
for attr in result.copy():
|
for attr in result.copy():
|
||||||
if isinstance(result[attr], (MutableSequence, MutableMapping, binary_type, text_type)):
|
if isinstance(result[attr], (MutableSequence, MutableMapping, binary_type, text_type)):
|
||||||
if not result[attr]:
|
if not result[attr]:
|
||||||
del(result[attr])
|
del result[attr]
|
||||||
|
|
||||||
def _handle_exceptions(self, result):
|
def _handle_exceptions(self, result):
|
||||||
if 'exception' in result:
|
if 'exception' in result:
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright: (c) 2019, Trevor Highfill <trevor.highfill@outlook.com>
|
# Copyright (c) 2019, Trevor Highfill <trevor.highfill@outlook.com>
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
@@ -626,7 +627,7 @@ playbook.yml: >
|
|||||||
---
|
---
|
||||||
- name: "Default plugin output: play example"
|
- name: "Default plugin output: play example"
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
gather_facts: no
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Default plugin output
|
- name: Default plugin output
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
@@ -634,7 +635,7 @@ playbook.yml: >
|
|||||||
|
|
||||||
- name: Override from play vars
|
- name: Override from play vars
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
gather_facts: no
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
ansible_connection: local
|
ansible_connection: local
|
||||||
green: "\e[0m\e[38;5;82m"
|
green: "\e[0m\e[38;5;82m"
|
||||||
@@ -712,7 +713,7 @@ playbook.yml: >
|
|||||||
- name: Using alias vars (see ansible.cfg)
|
- name: Using alias vars (see ansible.cfg)
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg:
|
msg:
|
||||||
when: False
|
when: false
|
||||||
vars:
|
vars:
|
||||||
ansible_callback_diy_playbook_on_task_start_msg: ""
|
ansible_callback_diy_playbook_on_task_start_msg: ""
|
||||||
on_skipped_msg: "DIY output(via task vars): skipped example:\n\e[0m\e[38;5;4m\u25b6\u25b6 {{ ansible_callback_diy.result.task.name }}\n"
|
on_skipped_msg: "DIY output(via task vars): skipped example:\n\e[0m\e[38;5;4m\u25b6\u25b6 {{ ansible_callback_diy.result.task.name }}\n"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# (C) 2021, Victor Martinez <VictorMartinezRubio@gmail.com>
|
# Copyright (c) 2021, Victor Martinez <VictorMartinezRubio@gmail.com>
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# 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
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user