When attempting to build the single-vm I am getting an error in what
appears to be command-line python. I added 'ansible.verbose = "vvv"' to get
the verbose output. Any suggestions on remedies would be appreciated!
R
TASK [ambari_config : Deploy cluster with Ambari; http://node1:
I think you should have python 2.7.11 at a minimum on the machine running
ansible maybe.
On February 1, 2019 at 07:55:59, Ryan Sommers (ry...@rpsommers.com) wrote:
When attempting to build the single-vm I am getting an error in what
appears to be command-line python. I added 'ansible.verbose = "
How do I adjust the version of Python in the VM that vagrant/ansible
provision? I setup a virtualenv with 2.7, but it appears the Python in the
CentOS6 VM is only 2.6.6 (although I thought 2.6.6 would support the
"except XXX, eee" syntax.
(python2)$ vagrant ssh -- python --version
ruby: warning: R
I don’t think the issue is in the VM though.
"File
"/usr/local/Cellar/ansible/2.7.6/libexec/lib/python3.7/site-packages/ansible/plugins/action/normal.py",
line 46, in run”
that is a home-brew path.
FWIW, https://github.com/apache/metron/pull/1261 is a PR to build the full
dev vm using docker to
Otto is correct - I believe this is an issue with Ansible 2.7 using Python
3, which ends up causing some trouble. Try with Ansible 2.6.5. It looks
like you're using Homebrew (which is what our README recommends, so that's
not surprising), and you can use some combo of the following commands:
# get