GithubHelp home page GithubHelp logo

ansible-cloudfoundry-role's People

Contributors

claudio-benfatto avatar jriguera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gerroldksky

ansible-cloudfoundry-role's Issues

ImportError: No module named requests

hey guys,

i was following the instructions to get the role up and running, but:

TASK [cf : Config - Set global feature flags] ******************************************************************************************************************************************* task path: /data/roles/cf/tasks/config.yml:4 Using module file /data/roles/cf/library/cf_config.py <localhost> ESTABLISH LOCAL CONNECTION FOR USER: default <localhost> EXEC /bin/sh -c 'echo ~ && sleep 0' <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p " echo /opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523 " && echo ansible-tmp-1510662843.8959563-128161610074523=" echo /opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523 `" ) && sleep 0'
PUT /tmp/tmpknfmkp1c TO /opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523/cf_config.py
EXEC /bin/sh -c 'chmod u+x /opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523/ /opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523/cf_config.py && sleep 0'
EXEC /bin/sh -c '/usr/bin/python /opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523/cf_config.py; rm -rf "/opt/app-root/src/.ansible/tmp/ansible-tmp-1510662843.8959563-128161610074523/" > /dev/null 2>&1 && sleep 0'
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_HtMppY/ansible_module_cf_config.py", line 23, in
import requests
ImportError: No module named requests

failed: [api.system.dev.api.xxx.xxx-benz.xxx.de -> localhost] (item={'name': 'user_org_creation', 'value': True}) => {
"failed": true,
"item": {
"name": "user_org_creation",
"value": true
},
"module_stderr": "Traceback (most recent call last):\n File "/tmp/ansible_HtMppY/ansible_module_cf_config.py", line 23, in \n import requests\nImportError: No module named requests\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}`

any idea?
using ansible 2.3.1 here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.