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
daf7419f
Commit
daf7419f
authored
Mar 17, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Python 3 instructions a bit more clear.
parent
ed1d9f12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
9 deletions
+18
-9
docsite/rst/gettingstarted.rst
+18
-9
No files found.
docsite/rst/gettingstarted.rst
View file @
daf7419f
...
...
@@ -39,7 +39,17 @@ also need:
then allows you to use everything else. (That's jumping ahead
though.)
Ansible does not run with Python 3.
.. note::
Python 3 is a slightly different language than Python 2 and most python programs (including
Ansible) are not
switching over yet. However, some Linux distributions (Gentoo, Arch) may not have a
Python 2.X interpreter installed by default. On those systems, you should install one, and set
the 'ansible_python_interpreter' variable in inventory to point at your 2.X python. Distributions
like Red Hat Enterprise Linux, CentOS, Fedora, and Ubuntu all have a 2.X interpreter installed
by default and this does not apply to those distributions. This is also true of nearly all
Unix systems. If you need to bootstrap these remote systems by installing Python 2.X,
using the 'raw' module will be able to do it remotely.
Getting Ansible
```````````````
...
...
@@ -172,8 +182,8 @@ Please refer to the documentation at <http://www.macports.org> for
further information on using Portfiles with MacPorts.
Debian, Gentoo, Arch, Others
+++++++++++++++++
+++++++++++
Ubuntu and Debian
+++++++++++++++++
Ubuntu builds are available `in a PPA here <https://launchpad.net/~rquillo/+archive/ansible>`_
...
...
@@ -183,6 +193,9 @@ Debian/Ubuntu package recipes can also be built from the source checkout, run:
$ make debian
Gentoo, Arch, Others
++++++++++++++++++++
Gentoo eBuilds are available `on github here <https://github.com/uu/ubuilds>`_
An Arch PKGBUILD is available on `AUR <https://aur.archlinux.org/packages.php?ID=58621>`_
...
...
@@ -192,12 +205,8 @@ If you have python3 installed on Arch, you probably want to symlink python to py
$ sudo ln -sf /usr/bin/python2 /usr/bin/python
You can also use the ansible_python_interpreter variable for hosts that have python
pointing to python3
If you would like to package Ansible for Homebrew, BSD, or others,
please stop by the mailing list and say hi!
You should also set a 'ansible_python_interpreter' inventory variable for hosts that have python
pointing to python3, so the right python can be found on the managed nodes.
Tagged Releases
+++++++++++++++
...
...
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