forklift icon indicating copy to clipboard operation
forklift copied to clipboard

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

Open jhutar opened this issue 7 years ago • 5 comments

 [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 avatar Jul 26 '18 15:07 jhutar

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.

ekohl avatar Jul 26 '18 15:07 ekohl

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

ehelms avatar Jul 26 '18 18:07 ehelms

@jhutar any updates?

ehelms avatar Jul 31 '18 20:07 ehelms

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

jhutar avatar Aug 01 '18 13:08 jhutar

...closed by accident

jhutar avatar Aug 01 '18 13:08 jhutar