hitachi-vantara / vspone-block-ansible

Public repository for Hitachi Storage Modules for Red Hat® Ansible®
2 stars 3 forks source link

Bug: Log folder causes issues while using collection #38

Closed mamoep closed 4 months ago

mamoep commented 5 months ago

When installing the collection via Ansible Galaxy the log folder is not created, so using the module leads to permission error. ansible-galaxy collection install hitachivantara.vspone_block

ansible-playbook storagesystem_facts.yml

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: PermissionError: [Errno 13] Permission denied: '/var/log/hitachivantara'

This is problematic, as this is automatically done by Ansible Automation Hub/AWX when executing a playbook. I want to avoid a special execution environment just for this one collection. Please avoid logging per default or log to /tmp.

rsahuHitachi commented 4 months ago

This issue is fixed now, please use the latest version