Closed l00ptr closed 5 years ago
Hello @l00ptr,
thanks a lot for reporting this issue! You are right, we can improve this project by using ansible modules like you suggest.
If you want to propose a patch and contribute, feel free to send a pull request.
Hello,
I will propose a patch :-) it's still a work in progress but if you want you can check there:
I still have to improve the part related to Apache configuration (replacing example.org and symlinking the lemonldap conf). I don't know what you except from a contribution. PR from master to master or from another branch to the master branch ?! Do you have any guideline ?
J.
And I don't know which version of Ansible you want to support, there are a lot improvement into the latest version of ansible. The latest one are not easy to install it by just using the default repo of Debian Stable or RedHat like (CentOS) distribution.
@l00ptr I can't answer myself, I let the other give their opinion
@l00ptr please request your contribution to be merged into our master branch, and make sure it will run on Ansible 2.5
Fixed with #3
Using (or almost) exclusively the shell ansible module is a bad idea. We can replace some of them to respect the ansible best practices.
By example instead of using shell module to import a GPG key for debian/apt we can use the apt_key module:
Can become:
It's easier to read and more in the ansible spirit :)