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

Fixed conditional that skip installation of dependencies #1054

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vhsantos
Copy link

@vhsantos vhsantos commented Oct 5, 2023

What

  • Removed block conditional that only allow install packages on Debian 9
  • Add gnupg package as dependency

Why

The actual playbook works well if the pacakages (unzip, apt-transport-https, gpg) are already installed on the systems (Debian 11 in my case), but generate a error about missing packages if we try to install it on other system than Debain 9.

TASK [../roles/wazuh-ansible/roles/wazuh/wazuh-indexer : Add apt repository signing key] ***************************************************************************************************************************
fatal: [centreon-local]: FAILED! => {"changed": false, "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant