splunk / splunk-platform-automator

Ansible framework providing a fast and simple way to spin up complex Splunk environments.
Apache License 2.0
117 stars 45 forks source link

Package 'acl' is not installed. This is required for Ansible #36

Closed amirulalif closed 10 months ago

amirulalif commented 10 months ago

Describe the bug

Got error "Package 'acl' is not installed. This is required for Ansible." when running command  
ansible-playbook ansible/deploy_site.yml

To Reproduce Steps to reproduce the behavior:

virtualbox:

box: "centos/7" # Default

box: "ubuntu/jammy64"

Splunk default settings

splunk_defaults: splunk_env_name: splk splunk_version: '9.1.1' splunk_admin_password: 'password' splunk_license_file: Splunk_Enterprise.lic

splunk_indexes:

test1:

test2_metrics:

datatype: metric

Splunk hosts with its settings

splunk_hosts:

Indexer and Search Head on single node

Screenshots splunk-acl-issue

Desktop (please complete the following information):

Already try

# apt install acl
But still error
splunkenizer commented 10 months ago

Where did you install the acl package? For Ubuntu this is needed on the Splunk host you install with the framework. Please see the documentation for the splunk_config.yml on how to add this during install.

Please add this to your splunk_config.yml

os:
  # Example for missing ACL support in Ubuntu on AWS. But can be added in the os.packages section as well.
  remote_command: 'sudo apt-get install -y acl'
amirulalif commented 10 months ago

Thanks, will add the remote_command to install acl in splunk_config.yml