kewlfft / ansible-aur

Ansible module to manage packages from the AUR
GNU General Public License v3.0
294 stars 46 forks source link

Embed module in role #29

Closed pallxk closed 4 years ago

pallxk commented 4 years ago

Here is the change for reference to embed a module in a role.

Fix #28.

pallxk commented 4 years ago

As a note, I see that AUR package for this is referencing aur.py in the project root, see PKGBUILD. So either we need to keep a symlink for aur.py at project root or we need to update PKGBUILD if this is merged.

panchoh commented 4 years ago

Hi! I'm the maintainer of the AUR package, and I'll be happy to quickly update the PKGBUILD to handle the new path.

Nice idea, this PR!

Cheers,

kewlfft commented 4 years ago

Can you also amend the README to explain the new manual installation and the new galaxy integration?

pallxk commented 4 years ago

Sure. I've updated the README for your review just now.

Note that manual installation via

git clone https://github.com/kewlfft/ansible-aur.git ~/.ansible/plugins/modules/aur

doesn't change even if aur.py is moved into library subdirectory.

panchoh commented 4 years ago

I've updated the AUR package to reflect the change.