Skip to content

Commit

Permalink
Install ps command so process can be detected as running
Browse files Browse the repository at this point in the history
  • Loading branch information
sleighzy committed Nov 29, 2023
1 parent 86d60c3 commit 85b5595
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
update_cache: yes
when: ansible_os_family == "Debian"

# The installation of this package into the Debian container means
# The installation of this package into the container means
# that the "ps" command is available for viewing the running process.
# Installing this package however also prevents an issue whereby the
# ZooKeeper service is constantly restarted by systemd which causes
Expand All @@ -27,3 +27,10 @@
name: procps
state: present
when: ansible_os_family == "Debian"

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

0 comments on commit 85b5595

Please sign in to comment.