Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ansible Molecule unit tests #44

Merged
merged 1 commit into from
Aug 30, 2024
Merged
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
4 changes: 2 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ platforms:
- kafka-nodes
- zookeeper-nodes
- name: server-2
image: rockylinux:8
image: redhat/ubi9:latest
networks:
- name: kafka
ipv4_address: '172.40.10.2'
Expand All @@ -53,7 +53,7 @@ platforms:
- kafka-nodes
- zookeeper-nodes
- name: server-3
image: registry.access.redhat.com/ubi8/ubi-init
image: redhat/ubi9:latest
networks:
- name: kafka
ipv4_address: '172.40.10.3'
Expand Down
5 changes: 2 additions & 3 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@
state: present
when: ansible_os_family == "Debian"

- name: Install ps on Rocky Linux
- name: Install ps on RedHat/CentOS
ansible.builtin.yum:
name: procps
state: present
use_backend: dnf
when: ansible_distribution == "Rocky" and ansible_distribution_major_version == "8"
when: ansible_os_family == "RedHat"
Loading