-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Syntax problem: - name: unseal vault #2764
Comments
the last commit working is e23fd5c |
@mattymo We now have a very strong dependency on the ansible vault module. My setup also fails now with this error. I see the issue now that our docs has no reference to the |
Yes after |
As far as I know, I didn't request vault mode, but I'm also getting this error; surely vault mode is not required now? Edit: no, but Ansible insists on loading and parsing files, including verifying module names, even if the code in those files is never executed. I'm sure there's a good reason for this. I commented out the hashicorp_vault-requiring task, and was able to proceed |
I have exact same problem... sudo pip install -r requirements.txt did not help... Requirement already satisfied: ansible>=2.4.0 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 1)) (2.5.4) |
@bocob the same issue |
I also have this problem. I use mac os x latest version. I tried both sudo and regular pip install -r requiremets.txt. I also tried same command with pip3. Ring no bells. How can I solve this problem? |
I think one issue is that ansible-modules-hashivault module does not appear to install correctly on some platforms.. at least it did not for mine. using |
turns out in my case ansible-modules-hashivault was not installing the hashivault files underneath: |
@arrowcircle I was in the same boat. What finally worked for me was:
No sudo on any of those. I also ensured |
@arrowcircle Since you are using MAC - few binaries installed with sudo might not have right permissions. |
Copying /usr/local/lib/python2.7/dist-packages/ansible/modules/hashivault to /usr/lib/python2.7/dist-packages/ansible/modules on AWS Ubuntu 16.04 image made a fix for me |
Yes! ansible-modules-hashivault module does not appear to install correctly. |
This worked for me on Ubuntu 18.04 too, after install pip3 which was missing also |
For me this problem was solved by using python2.7 instead of python3. |
suddenly started to happen from today, nothing changed on the hosts. Tried all the different items above. |
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/vagrant/kubespray/roles/container-engine/cri-o/tasks/main.yaml': line 39, column 3, but may The offending line appears to be:
|
Ansible
2.5.2
on OSX Sierra (nodes are Centos7)command:
> ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml
error:
It works when I checkout a specific release: (v2.5.0)
The text was updated successfully, but these errors were encountered: