When I run the command: ansible-playbook -i inventory/hosts lemmy.yml
I encounter an error. My user on the server has passwordless root access, and it is a completely fresh install. I have updated and rebooted the system, as well as tried updating without rebooting and without updating, but I continue to receive the same error message. I am using the latest build from two weeks ago.
I am using Ubuntu server 22.04.
FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive operation: Failed to lock directory /var/lib/apt/lists/: E:Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)"}
LPT you can set ansible output to human readable to prevent a you-are-not-a-json-parser stroke