Replies: 3 comments 2 replies
-
The lock file only exists if there is already an apt process running, this has nothing to do with semaphore. |
Beta Was this translation helpful? Give feedback.
-
There is no lockfile. |
Beta Was this translation helpful? Give feedback.
-
I've re-tested the credentials, completely building a new project in the process. |
Beta Was this translation helpful? Give feedback.
-
I'm experimenting with Semaphore and I've installed it via snap on VM running ubuntu 22.04.
I've setup an inventory containing the ip's of 2 raspberry pi's running Raspbian Bullseye and Bookwork respectively.
I've setup an admin user on the ubuntu host, generated ssh keys, then added users with same name, same pass, same uid on both raspberries.
I've setup an ssh key and sudo pass in Semaphore and used all these settings when creating task templates.
I'm trying to run a simple playbook to update packages on the pie which fails on the following task:
with the following error
for both hosts.
other playbooks (i.e. a ping test) run without issues.
after re-creating the task template for the n-th time I decided to apt-get install ansible on the Ubuntu VM then cloned my repo and ran the following command in cli
ansible-playbook --ask-become-pass playbooks/update-apt-packages.yaml -i inventory/hosts
it runs successfully every time, verbose output doesn't tell anything interesting.
Any suggestions where to look for my mistake?
oh, and I did spend a good two hours deleting lock files... apparently this is not the issue.
Thx in advance!
Beta Was this translation helpful? Give feedback.
All reactions