Skip to content

Commit

Permalink
Merge pull request #44 from sleighzy/fix-molecule-tests
Browse files Browse the repository at this point in the history
Fix Ansible Molecule unit tests
  • Loading branch information
sleighzy authored Aug 30, 2024
2 parents 57cff3e + c0b80fb commit b6da285
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
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"

0 comments on commit b6da285

Please sign in to comment.