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
6d66140f
Commit
6d66140f
authored
May 31, 2012
by
Adrià Casajús
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added possibility to define externally the ANSIBLE_ROOT and added a -q option
parent
687cf1eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
hacking/env-setup
+14
-10
No files found.
hacking/env-setup
View file @
6d66140f
...
...
@@ -2,19 +2,23 @@
# usage: source ./hacking/env-setup
# modifies environment for running Ansible from checkout
PREFIX_PYTHONPATH
=
"
$PWD
/lib"
PREFIX_PATH
=
"
$PWD
/bin"
PREFIX_MANPATH
=
"
$PWD
/docs/man"
ANSIBLE_ROOT
=
${
ANSIBLE_ROOT
:
=
$PWD
}
PREFIX_PYTHONPATH
=
"
$ANSIBLE_ROOT
/lib"
PREFIX_PATH
=
"
$ANSIBLE_ROOT
/bin"
PREFIX_MANPATH
=
"
$ANSIBLE_ROOT
/docs/man"
export
PYTHONPATH
=
$PREFIX_PYTHONPATH
:
$PYTHONPATH
export
PATH
=
$PREFIX_PATH
:
$PATH
export
ANSIBLE_LIBRARY
=
"
$
PWD
/library"
export
ANSIBLE_LIBRARY
=
"
$
ANSIBLE_ROOT
/library"
export
MANPATH
=
$PREFIX_MANPATH
:
$MANPATH
echo
"PATH=
$PATH
"
echo
"PYTHONPATH=
$PYTHONPATH
"
echo
"ANSIBLE_LIBRARY=
$ANSIBLE_LIBRARY
"
echo
"MANPATH=
$MANPATH
"
if
!
echo
"
$@
"
|
grep
-q
'\-q'
;
then
echo
"PATH=
$PATH
"
echo
"PYTHONPATH=
$PYTHONPATH
"
echo
"ANSIBLE_LIBRARY=
$ANSIBLE_LIBRARY
"
echo
"MANPATH=
$MANPATH
"
echo
"Reminder: specify your host file with -i"
echo
"Done."
echo
"Reminder: specify your host file with -i"
echo
"Done."
fi
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