CISOfy / lynis

Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional.
https://cisofy.com/lynis/
GNU General Public License v3.0
13.5k stars 1.49k forks source link

[TOOL-5002] Ansible not found - Ansible has changed the installation procedure #1577

Open vk6xebec opened 1 week ago

vk6xebec commented 1 week ago

Describe the bug The current check for ansible checks the presence of Ansible in /root/.ansible.

However, the latest documentation to install ansible has it installing through pipx https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

This means ansible is only found in the user directories eg /home/USER/.ansible

This check needs to be updated for all users

Version

Expected behavior Checks for the presence of Ansible in /home/USER/.ansible for all users; not just root

Output N/A - Ansible wasn't detected