mnussbaum / ansible-yay

Ansible module to install AUR packages with yay
MIT License
57 stars 14 forks source link

Error if running with disabled root account #8

Open adrfantini opened 1 year ago

adrfantini commented 1 year ago

I'm trying to run this module and I'm getting this error:

Failed to install package brave-bin, because: sudo: Account or password is expired, reset your password and try again
sudo: unable to change expired password: Authentication token manipulation error
sudo: a password is required

I think this is because my root login is disabled, however I had no problems whatsoever with other tasks using community.general.pacman and become: true.

Re-enabling root fixes the problem.

Any idea on how to fix this?