geerlingguy / ansible-role-clamav

Ansible Role - ClamAV.
https://galaxy.ansible.com/geerlingguy/clamav/
MIT License
60 stars 51 forks source link

Allow creating new lines in clamav_daemon_config_path #10

Closed maldonadojoan closed 4 years ago

maldonadojoan commented 5 years ago

Hello @geerlingguy Firstly, I would like to thank you for your amazing work. I’m currently using several of your roles on my instances. I am currently configuring ClamAV via Ansible on several instances. This role performs all the changes I need except one. In addition to modifying some parameters in _clamav_daemon_configpath, I also need to add some lines. It is possible to do it with the lineinfile module, specifying the parameters path, line and state. In the current code for the task Change configuration for the ClamAV daemon, the use of the parameter regexp is compulsory. I just added the possibility to omit this parameter, allowing you to create new lines. You will still be able to modify existing ones. Regards

stale[bot] commented 4 years ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

stale[bot] commented 4 years ago

This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.