AAROC / e-Research-Hackfest-prep

The repository for the organising team of an e-Research Hackfest
Apache License 2.0
0 stars 5 forks source link

Error perfroming playbook #83

Closed mtorrisi closed 7 years ago

mtorrisi commented 7 years ago

Running plabook with: ansible-playbook development-environment.yml -i ../../inventory/sgw-dev --extra-vars "site_name=addis-hackfest slack_token=1234"

I get:

fatal: [sgw-dev.sci-gaia.eu]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to sgw-dev.sci-gaia.eu closed.\r\n", "module_stdout": "/bin/sh: 1: /usr/bin/python: not found\r\n", "msg": "MODULE FAILURE"}

If comment the Announce the setup task I get


fatal: [sgw-dev.sci-gaia.eu]: FAILED! => {"failed": true, "msg": "'managed_prerequisites' is undefined"```
brucellino commented 7 years ago

This looks like it's because there's a missing python installation. That's one of the prerequisites of Ansible. Let me take a look...

mtorrisi commented 7 years ago

I supposed this was the problem, so I tried to install python2.7 on target machine manually, but I got the same error

brucellino commented 7 years ago

Don't worry. I'm fixing it upstream.