Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
484 changes: 484 additions & 0 deletions .ansible-lint-ignore

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/label_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
let fs = require('fs');
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/pr_number.zip`, Buffer.from(download.data));

- name: 'Unzip artifact'
- name: "Unzip artifact"
run: unzip pr_number.zip

- name: Read the PR number
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Copyright 2024 Cloudera, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,11 +19,10 @@ on:
pull_request:
push:
branches: [main, devel]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
3 changes: 1 addition & 2 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ name: Publish documentation
on:
push:
branches:
- 'main'
- "main"

workflow_dispatch:

jobs:
build-ansible-docs:
name: Build Ansible Docs
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ name: Publish to Ansible Galaxy
on:
release:
types: [published]

jobs:
galaxy_release:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reset_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ on:
- synchronize
- ready_for_review
branches:
- 'release/**'
- 'devel'
- 'devel-pvc-base'
- "release/**"
- "devel"
- "devel-pvc-base"

jobs:
reset:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ name: Validate Pull Request
on:
pull_request:
branches:
- 'release/**'
- 'devel'
- "release/**"
- "devel"

jobs:
validate:
Expand All @@ -32,8 +32,8 @@ jobs:
- name: Setup Python and caching
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
python-version: "3.9"
cache: "pip"

- name: Set up Ansible and Ansible collections and roles
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/validate_pr_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ name: Validate Pull Request documentation
on:
pull_request:
branches:
- 'release/**'
- 'devel'
- "release/**"
- "devel"

workflow_dispatch:

jobs:
validate-docs:
name: Validate Ansible Docs
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Copyright 2024 Cloudera, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion docs/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
edit_on_github:
repository: cloudera-labs/cloudera.cluster
branch: main
path_prefix: ''
path_prefix: ""

extra_links:
- description: Submit a bug report
Expand Down
59 changes: 30 additions & 29 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,44 @@

---

namespace: cloudera
name: cluster
version: 4.5.0-rc1
readme: README.md
namespace: cloudera
name: cluster
version: 4.5.0-rc1
readme: README.md
authors:
- Webster Mudge @wmudge
- Ronald Suplina @rsuplina
- Jim Enright @jimright
- Webster Mudge @wmudge
- Ronald Suplina @rsuplina
- Jim Enright @jimright

description: >
A set of roles, modules, and other plugins for interacting with the services
and endpoints provided by Cloudera on Premises and Cloudera Manager (CM).
and endpoints provided by Cloudera Manager (CM).
license_file: LICENSE
tags:
- cloudera
- cdp
- cdh
- private_cloud
- on_premise
- data_services
- cloudera_manager
- cm
- application
- cloud
- tools
- cloudera
- cdp
- cdh
- private_cloud
- on_premise
- data_services
- cloudera_manager
- cm

dependencies:
'ansible.posix': '1.3.0'
'community.crypto': '2.2.1'
'community.general': '4.5.0'
"ansible.posix": "1.3.0"
"community.crypto": "2.2.1"
"community.general": "4.5.0"

repository: https://github.com/cloudera-labs/cloudera.cluster
homepage: https://github.com/cloudera-labs/cloudera.cluster
issues: https://github.com/cloudera-labs/cloudera.cluster/issues
documentation: https://cloudera-labs.github.io/cloudera.cluster
repository: https://github.com/cloudera-labs/cloudera.cluster
homepage: https://github.com/cloudera-labs/cloudera.cluster
issues: https://github.com/cloudera-labs/cloudera.cluster/issues
documentation: https://cloudera-labs.github.io/cloudera.cluster

build_ignore:
- '.*'
- docs
- docsrc
- site

...
- ".*"
- docs
- docsrc
- site
3 changes: 2 additions & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# -*- coding: utf-8 -*-

# Copyright 2025 Cloudera, Inc. All Rights Reserved.
Expand All @@ -14,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

requires_ansible: ">=2.10"
requires_ansible: ">=2.15.0"

action_groups:
cm:
Expand Down
2 changes: 1 addition & 1 deletion plugins/filter/append_database_port.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: append_database_port
short_description: append_database_port
description: append_database_port

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/cluster_service_role_hosts.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: cluster_service_role_hosts
short_description: cluster_service_role_hosts
description: cluster_service_role_hosts

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/default_database_port.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: default_database_port
short_description: default_database_port
description: default_database_port

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/extract_custom_role_groups.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: extract_custom_role_groups
short_description: extract_custom_role_groups
description: extract_custom_role_groups

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/extract_custom_roles.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: extract_custom_roles
short_description: extract_custom_roles
description: extract_custom_roles

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/extract_parcel_urls.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: extract_parcel_urls
short_description: extract_parcel_urls
description: extract_parcel_urls

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/extract_products_from_manifests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: extract_products_from_manifests
short_description: extract_products_from_manifests
description: extract_products_from_manifests

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/extract_role_and_group.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: extract_role_and_group
short_description: extract_role_and_group
description: extract_role_and_group

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/filter_null_configs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: fill_null_configs
short_description: fill_null_configs
description: fill_null_configs

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/find_clusters.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: find_clusters
short_description: find_clusters
description: find_clusters

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/flatten_dict_list.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: flatten_dict_list
short_description: flatten_dict_list
description: flatten_dict_list

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/format_database_type.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: format_database_type
short_description: format_database_type
description: format_database_type

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/get_database_collation_mysql.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: get_database_collation_mysql
short_description: get_database_collation_mysql
description: get_database_collation_mysql

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/get_database_encoding_mysql.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: get_database_encoding_mysql
short_description: get_database_encoding_mysql
description: get_database_encoding_mysql

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/get_major_version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: get_major_version
short_description: get_major_version
description: get_major_version

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/get_product_version.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: get_product_version
short_description: get_product_version
description: get_product_version

EXAMPLES:

RETURN:
2 changes: 1 addition & 1 deletion plugins/filter/to_ldap_type_enum.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
DOCUMENTATION:
name: to_ldap_type_enum
short_description: to_ldap_type_enum
description: to_ldap_type_enum

EXAMPLES:

RETURN:
4 changes: 2 additions & 2 deletions plugins/lookup/cm_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
description:
- The contents of the license.
type: dict
options:
contains:
deactivation_date:
description: Date of license deactivation.
returned: always
Expand All @@ -95,7 +95,7 @@
returned: always
password:
description: Computed password of the license.
return: always
returned: always
start_date:
description: Date of license activation.
returned: always
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/assemble_cluster_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
cloudera.cluster.assemble_cluster_template:
src: /tmp/examples
dest: /opt/cloudera/cluster-template.json
remote_src: yes
remote_src: true
"""

RETURN = r"""#"""
Expand Down
Loading
Loading