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

when I'm attempting to run containerized setup and I do not have vagrant installed, I'm getting a warning #802

Open
jhutar opened this issue Jul 26, 2018 · 5 comments

Comments

@jhutar
Copy link

jhutar commented Jul 26, 2018

 [WARNING]:  * Failed to parse /root/forklift/inventories/vagrant.py with script plugin: Inventory script (/root/forklift/inventories/vagrant.py) had an execution error: Traceback (most recent call last):   File
"/root/forklift/inventories/vagrant.py", line 6, in <module>     import paramiko ImportError: No module named paramiko

 [WARNING]:  * Failed to parse /root/forklift/inventories/vagrant.py with ini plugin: /root/forklift/inventories/vagrant.py:4: Expected key=value host variable assignment, got: argparse

 [WARNING]: Unable to parse /root/forklift/inventories/vagrant.py as an inventory source

I assume this can be solved by changing forklift/containers/ansible.cfg.

@jhutar jhutar changed the title when I'm attemoting to run containerized setup and I do not have vagrant installed, I'm getting a warning when I'm attempting to run containerized setup and I do not have vagrant installed, I'm getting a warning Jul 26, 2018
@ekohl
Copy link
Member

ekohl commented Jul 26, 2018

Paramiko is a python library. Vagrant doesn't ship anything Python but I thought that Ansible pulled in paramiko. There is a which vagrant call in the script so it should already work efficiently when vagrant is not present.

@ehelms
Copy link
Member

ehelms commented Jul 26, 2018

Also, where are you running the playbook from? forklift or forklift/containers ?

@ehelms
Copy link
Member

ehelms commented Jul 31, 2018

@jhutar any updates?

@jhutar
Copy link
Author

jhutar commented Aug 1, 2018

Sorry, missed the ping. I'm running it from forklift/containers/, should I run from forklift/?

@jhutar jhutar closed this as completed Aug 1, 2018
@jhutar jhutar reopened this Aug 1, 2018
@jhutar
Copy link
Author

jhutar commented Aug 1, 2018

...closed by accident

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

3 participants