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
3416c330
Commit
3416c330
authored
Apr 29, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'abadger-feature/multi-version-import' into devel
parents
d5e254d3
8e66a6c8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
bin/ansible-playbook
+3
-0
bin/ansible-vault
+3
-0
packaging/rpm/ansible.spec
+9
-0
setup.py
+7
-2
No files found.
bin/ansible-playbook
View file @
3416c330
...
...
@@ -18,6 +18,9 @@
#######################################################
__requires__
=
[
'ansible'
]
import
pkg_resources
import
sys
import
os
import
stat
...
...
bin/ansible-vault
View file @
3416c330
...
...
@@ -20,6 +20,9 @@
# example playbook to bootstrap this script in the examples/ dir which
# installs ansible and sets it up to run on cron.
__requires__
=
[
'ansible'
]
import
pkg_resources
import
os
import
sys
import
traceback
...
...
packaging/rpm/ansible.spec
View file @
3416c330
...
...
@@ -25,6 +25,12 @@ Requires: python26-paramiko
Requires: python26-jinja2
Requires: python26-keyczar
Requires: python26-httplib2
Requires: python26-setuptools
%endif
# RHEL == 6
%if 0%{?rhel} == 6
Requires: python-crypto2.6
%endif
# RHEL > 5
...
...
@@ -35,6 +41,7 @@ Requires: python-paramiko
Requires: python-jinja2
Requires: python-keyczar
Requires: python-httplib2
Requires: python-setuptools
%endif
# FEDORA > 17
...
...
@@ -45,6 +52,7 @@ Requires: python-paramiko
Requires: python-jinja2
Requires: python-keyczar
Requires: python-httplib2
Requires: python-setuptools
%endif
# SuSE/openSuSE
...
...
@@ -56,6 +64,7 @@ Requires: python-jinja2
Requires: python-keyczar
Requires: python-yaml
Requires: python-httplib2
Requires: python-setuptools
%endif
Requires: sshpass
...
...
setup.py
View file @
3416c330
...
...
@@ -6,7 +6,12 @@ from glob import glob
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'lib'
))
from
ansible
import
__version__
,
__author__
from
distutils.core
import
setup
try
:
from
setuptools
import
setup
except
ImportError
:
print
"Ansible now needs setuptools in order to build. "
+
\
"Install it using your package manager (usually python-setuptools) or via pip (pip install setuptools)."
sys
.
exit
(
1
)
# find library modules
from
ansible.constants
import
DEFAULT_MODULE_PATH
...
...
@@ -29,7 +34,7 @@ setup(name='ansible',
author_email
=
'michael@ansible.com'
,
url
=
'http://ansible.com/'
,
license
=
'GPLv3'
,
install_requires
=
[
'paramiko'
,
'jinja2'
,
"PyYAML"
],
install_requires
=
[
'paramiko'
,
'jinja2'
,
"PyYAML"
,
'setuptools'
,
'pycrypto >= 2.6'
],
package_dir
=
{
'ansible'
:
'lib/ansible'
},
packages
=
[
'ansible'
,
...
...
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