-
Notifications
You must be signed in to change notification settings - Fork 117
/
requirements.yml
51 lines (48 loc) · 1.92 KB
/
requirements.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This is the Ansible Galaxy requirements that need to be installed locally to be able to run
# the operator Ansible playbook locally.
#
# To install these into your local Ansible environment:
# ansible-galaxy collection install -r requirements.yml --force-with-deps
#
# Make sure these collections match that which is inside the downstream Ansible Operator SDK base image.
# You can determine what collections are installed by looking in the base image like this:
#
# podman run \
# -it --rm --entrypoint '' \
# registry.redhat.io/openshift4/ose-ansible-rhel9-operator:v4.17 \
# ansible-galaxy collection list
#
# NOTE: for older base images, ansible-galaxy had no "collection list" command; instead, run the command:
# ls /opt/ansible/.ansible/collections/ansible_collections
#
# To determine the version of a specific collection
#
# podman run \
# -it --rm --entrypoint '' \
# registry.redhat.io/openshift4/ose-ansible-rhel9-operator:v4.17 \
# ansible-galaxy collection list kubernetes.core
#
# NOTE: for older base images, ansible-galaxy had no "collection list" command; instead, look at the MANIFEST.json:
# cat /opt/ansible/.ansible/collections/ansible_collections/kubernetes/core/MANIFEST.json | grep version
#
# It is best if you have the same version of Ansible installed locally as found in the base image. You can determine
# the version of Ansible in the base image via:
#
# podman run \
# -it --rm --entrypoint '' \
# registry.redhat.io/openshift4/ose-ansible-rhel9-operator:v4.17 \
# ansible --version
#
# To install that version locally, you can git clone the source via:
# git clone -b v<ansible version> --depth 1 https://github.com/ansible/ansible.git
# and then set up your environment via:
# source ./ansible/hacking/env-setup -q
collections:
- name: community.general
version: 7.5.0
- name: kubernetes.core
version: 4.0.0
- name: operator_sdk.util
version: 0.5.0
- name: ansible.posix
version: 1.6.2