Skip to content

Commit 5875dc6

Browse files
authored
Update dependencies for optional functions (#116)
* Update dependencies for optional functions * Update README, galaxy.yml, and requirements.yml for optional dependencies Signed-off-by: Webster Mudge <[email protected]>
1 parent 800fd34 commit 5875dc6

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
1-
# Ansible Collection for Cloudera Private Cloud
1+
# Ansible Collection for Cloudera (CDP) Private Cloud
22

33
## Requirements
44

55
- Python 2.x or 3.x
66
- [Ansible](http://docs.ansible.com/ansible/intro_installation.html)
77
- [JMESPath](https://jmespath.org/)
88

9+
### Dependencies
10+
11+
| Name | Type | Version |
12+
| `ansible.posix` | collection | `1.3.0` |
13+
| `community.crypto` | collection | `2.2.1` |
14+
| `community.general` | collection | `4.5.0` |
15+
16+
### Optional Dependencies
17+
18+
| Name | Type | Version |
19+
| `community.mysql` | collection | `3.1.0` |
20+
| `community.postgresql` | collection | `1.6.1` |
21+
| `freeipa.ansible_freeipa` | collection | `1.6.2` |
22+
| `geerlingguy.postgresql` | role | `2.2.0` |
23+
| `geerlingguy.mysql` (patched) | role | `master` |
24+
25+
All dependencies, required and optional, are found in `requirements.yml`. Only the required dependencies are in `galaxy.yml` and thus installed by `ansible-builder` when creating an Environment Execution container.
26+
927
**Do not use Ansible 2.9.0**. This version has an [issue with templating](https://github.com/ansible/ansible/issues/64745) which causes the playbook execution to fail. Instead, use any 2.8.x version or a later 2.9.x version as these are not affected.
1028

1129
## Usage

galaxy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
# Copyright 2023 Cloudera, Inc.
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +16,7 @@
1416

1517
namespace: cloudera
1618
name: cluster
17-
version: 3.4.2
19+
version: 4.0.0-rc1
1820

1921
authors: []
2022
readme: README.md
@@ -26,9 +28,6 @@ dependencies:
2628
'ansible.posix': '1.3.0'
2729
'community.crypto': '2.2.1'
2830
'community.general': '4.5.0'
29-
'community.mysql': '3.1.0'
30-
'community.postgresql': '1.6.1'
31-
'freeipa.ansible_freeipa': '1.6.2'
3231

3332
repository: https://github.com/cloudera-labs/cloudera.cluster
3433
documentation: https://github.com/cloudera-labs/cloudera.cluster

requirements.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Copyright 2021 Cloudera, Inc.
1+
---
2+
3+
# Copyright 2023 Cloudera, Inc.
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
@@ -12,8 +14,6 @@
1214
# See the License for the specific language governing permissions and
1315
# limitations under the License.
1416

15-
---
16-
1717
roles:
1818
- name: geerlingguy.postgresql
1919
version: 2.2.0

0 commit comments

Comments
 (0)