Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
5a075e3b
Commit
5a075e3b
authored
Apr 02, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify docs section slightly.
parent
8d9424c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
docsite/rst/guide_rax.rst
+3
-1
No files found.
docsite/rst/guide_rax.rst
View file @
5a075e3b
...
...
@@ -66,7 +66,9 @@ https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#authentic
Running
from
a
Python
Virtual
Environment
(
Optional
)
++++++++++++++++++++++++++++++++++++++++++++++++++++
There
are
special
considerations
when
Ansible
is
installed
to
a
Python
virtualenv
,
rather
than
the
default
of
installing
at
a
global
scope
.
Ansible
assumes
,
unless
otherwise
instructed
,
that
the
python
binary
will
live
at
/
usr
/
bin
/
python
.
This
is
done
so
via
the
interpret
line
in
modules
,
however
when
instructed
using
ansible_python_interpreter
,
Ansible
will
use
this
specified
path
instead
to
find
Python
.
**
This
is
a
common
cause
of
module
failures
**,
because
the
user
assumes
that
modules
running
on
'localhost'
,
or
perhaps
running
via
'local_action'
are
using
the
virtualenv
Python
interpreter
.
By
setting
this
line
in
the
inventory
,
the
modules
will
execute
in
the
virtualenv
interpreter
and
have
available
the
virtualenv
packages
,
specifically
pyrax
.
If
using
virtualenv
,
you
may
wish
to
modify
your
localhost
inventory
definition
to
find
this
location
as
follows
:
Most
users
will
not
be
using
virtualenv
,
but
some
users
,
particularly
Python
developers
sometimes
like
to
.
There
are
special
considerations
when
Ansible
is
installed
to
a
Python
virtualenv
,
rather
than
the
default
of
installing
at
a
global
scope
.
Ansible
assumes
,
unless
otherwise
instructed
,
that
the
python
binary
will
live
at
/
usr
/
bin
/
python
.
This
is
done
via
the
interpreter
line
in
modules
,
however
when
instructed
by
setting
the
inventory
variable
'ansible_python_interpreter'
,
Ansible
will
use
this
specified
path
instead
to
find
Python
.
This
can
be
a
cause
of
confusion
as
one
may
assume
that
modules
running
on
'localhost'
,
or
perhaps
running
via
'local_action'
,
are
using
the
virtualenv
Python
interpreter
.
By
setting
this
line
in
the
inventory
,
the
modules
will
execute
in
the
virtualenv
interpreter
and
have
available
the
virtualenv
packages
,
specifically
pyrax
.
If
using
virtualenv
,
you
may
wish
to
modify
your
localhost
inventory
definition
to
find
this
location
as
follows
:
..
code
-
block
::
ini
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment