Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when installing the playbook #5

Closed
YeAxol opened this issue Jul 24, 2021 · 1 comment
Closed

error when installing the playbook #5

YeAxol opened this issue Jul 24, 2021 · 1 comment

Comments

@YeAxol
Copy link

YeAxol commented Jul 24, 2021

pi@raspberrypi:~/vaultwarden-ansible $ ansible-playbook -i host playbook.yaml
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/pi/vaultwarden-ansible/roles/setup/tasks/main.yaml': line 30, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: "Prune everything"
  ^ here

I made sure ansible and docker was installed correctly and I restarted my pi multiple times but I can't figure out why I'm getting this weird issue.

@YeAxol
Copy link
Author

YeAxol commented Jul 24, 2021

By default the raspberry pi default installation is ansible version 2.7.7 and I didn't notice until almost an hour later with a ansible --version
I found this tutorial on how to install the latest version of ansible on the pi and now the playbook installed without an issue.

https://www.theurbanpenguin.com/installing-ansible-on-the-raspberry-pi/

@YeAxol YeAxol closed this as completed Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant