Skip to content

Conversation

ifosch
Copy link
Contributor

@ifosch ifosch commented Aug 14, 2014

I know it should be better to use pip module from ansible, but I couldn't find the way to install the egg with another name beyond the repository name.

@ninjabong
Copy link
Member

yeah, quick googling reveals it's not possible with ansible's pip but suggests some alternatives, namely easy_install or command/shell roles.

I take it the playbook use would be something like this?

    - role: pip_package
      vcs_eggs:
        - { egg_name: "foo", address: "https://github.com/foo/bar" }

For now I'll leave this open, @rricard might have a better insight.

@rricard
Copy link
Contributor

rricard commented Sep 1, 2014

Well, I'm not that of a python guy but I think you should use easy install for that... And of course, we could do something prettier as @ninjabong advised...

@ifosch
Copy link
Contributor Author

ifosch commented Sep 1, 2014

Ok, I'll take a closer look at this! I chose the pip thing, because pip is
the recommended way of installing things in Python, but this would be done
using easy_install, also. I'll work on this next.

On Mon, Sep 1, 2014 at 3:55 PM, Robin Ricard [email protected]
wrote:

Well, I'm not that of a python guy but I think you should use easy install
for that... And of course, we could do something prettier as @ninjabong
https://github.com/ninjabong advised...


Reply to this email directly or view it on GitHub
#45 (comment).

"As we enjoy great advantages from the inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and this
we should do freely and generously."
Benjamin Franklin, 1742

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

Successfully merging this pull request may close these issues.

3 participants