Closed herrmie closed 4 years ago
Hi this works for me:
- name: AUR upgrade
aur: upgrade=yes aur_only=yes use=yay
become_user: kewlfft
environment:
XDG_CACHE_HOME: /tmp
register: aur_result
Hello, okay with yay it is working. But with makepkg it is not working. But it shoud, am I right? Like this:
- name: AUR upgrade
aur: upgrade=yes aur_only=yes use=makepkg
become_user: kewlfft
environment:
XDG_CACHE_HOME: /tmp
register: aur_result
makepkg does not upgrade
Hello, I am new in ansible, but want to use your role. I have following playbook:
And the error is: Upgrade cannot be used with this option. But if I have a look in your aur.py:
if params['upgrade'] and (params['name'] or params['skip_installed'] or use == 'makepkg'): module.fail_json(msg="Upgrade cannot be used with this option.")
It should be work as you can see the variable:
Thanks for help and greets, herrmie