You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Austin S. Hemmelgarn d5ae9d1018 Fix build on Python 3.x by using sys.maxsize. (#30424)
As outlined in https://docs.python.org/3.1/whatsnew/3.0.html#integers,
sys.maxint doesn't exist anymore in Python 3.x because there is no maximum
value for integers in Python 3.x.  sys.maxsize is present in all
versions of Python that are currently supported by Ansible, so use that
instead as an arbitrarily large index value.

Fixes the following build error when building with Python 3.x:
make -j1 docs
mkdir -p ./docs/man/man1/ ; \
PYTHONPATH=./lib docs/bin/generate_man.py --template-file=docs/templates/man.j2 --output-dir=docs/man/man1/ --output-format man lib/ansible/cli/*.py
Traceback (most recent call last):
  File "docs/bin/generate_man.py", line 253, in <module>
    allvars[cli_name] = opts_docs(cli_class_name, cli_name)
  File "docs/bin/generate_man.py", line 119, in opts_docs
    'long_desc': trim_docstring(cli.__doc__),
  File "docs/bin/generate_man.py", line 34, in trim_docstring
    indent = sys.maxint
AttributeError: module 'sys' has no attribute 'maxint'
make: *** [Makefile:347: generate_asciidoc] Error 1
7 years ago
.github Remove rabbitmq maintainer. (#30531) 7 years ago
bin nicer error on bad ansible config (#30461) 7 years ago
contrib Enable more pylint rules and fix reported issues. (#30539) 7 years ago
docs Fix build on Python 3.x by using sys.maxsize. (#30424) 7 years ago
examples fixed typo 7 years ago
hacking Use JSON returns values to create RETURN docs 7 years ago
lib/ansible oc module- Fixing description & removing example command (#30257) 7 years ago
packaging Set the release date. 7 years ago
test Fix jenkins_plugin test for no net situations (#30568) 7 years ago
ticket_stubs Remove obsolete ticket stubs. 8 years ago
.coveragerc Docker image updates for integration tests. (#26054) 8 years ago
.gitattributes avoid exporting files useless to dist 8 years ago
.gitignore Generate plugin rst (#28901) 7 years ago
.gitmodules Code cleanup. 8 years ago
.mailmap add mailmap entries for @resmo 8 years ago
.yamllint Lint YAML files under test/ 8 years ago
CHANGELOG.md Add a code-smell test for smart quotes and remove smart quotes from all files 7 years ago
CODING_GUIDELINES.md Use pycodestyle instead of pep8 (#25947) 7 years ago
CONTRIBUTING.md Update CONTRIBUTING.md with more recent developments 9 years ago
COPYING license file should be in source tree 13 years ago
MANIFEST.in powershell setup fixes (#27516) 7 years ago
MODULE_GUIDELINES.md Update link to MAINTAINERS.txt 7 years ago
Makefile Fix make clean to remove test reports correctly 7 years ago
README.md devel usage README update (#30369) 7 years ago
RELEASES.txt Use a more convenient and standard date format 7 years ago
ROADMAP.rst docs: fix community meetings link (#27264) 7 years ago
VERSION Bump the versions now that devel is 2.5 7 years ago
ansible-core-sitemap.xml Remove remnants of obsolete fireball mode. 8 years ago
docsite_requirements.txt Fixes the build issue pertaining to sphinx-build which is required to build ansible (#22480) 8 years ago
requirements.txt Cyptography pr 20566 rebase (#25560) 8 years ago
setup.py On Py3, nonexistent files raise OSError (#28899) 7 years ago
shippable.yml Update Windows CI groups from 2 to 3. 7 years ago
tox.ini Update tox.ini to use ansible-test. 7 years ago

README.md

PyPI version Build Status

Ansible

Ansible is a radically simple IT automation system. It handles configuration-management, application deployment, cloud provisioning, ad-hoc task-execution, and multinode orchestration - including trivializing things like zero downtime rolling updates with load balancers.

Read the documentation and more at https://ansible.com/

You can find installation instructions here for a variety of platforms. Most users should probably install a released version of Ansible from pip, a package manager or our release repository. Officially supported builds of Ansible are also available. Some power users run directly from the development branch - while significant efforts are made to ensure that devel is reasonably stable, you're more likely to encounter breaking changes when running Ansible this way.

Design Principles

  • Have a dead simple setup process and a minimal learning curve
  • Manage machines very quickly and in parallel
  • Avoid custom-agents and additional open ports, be agentless by leveraging the existing SSH daemon
  • Describe infrastructure in a language that is both machine and human friendly
  • Focus on security and easy auditability/review/rewriting of content
  • Manage new remote machines instantly, without bootstrapping any software
  • Allow module development in any dynamic language, not just Python
  • Be usable as non-root
  • Be the easiest IT automation system to use, ever.

Get Involved

  • Read Community Information for all kinds of ways to contribute to and interact with the project, including mailing list information and how to submit bug reports and code to Ansible.
  • All code submissions are done through pull requests. Take care to make sure no merge commits are in the submission, and use git rebase vs git merge for this reason. If submitting a large code change (other than modules), it's probably a good idea to join ansible-devel and talk about what you would like to do or add first and to avoid duplicate efforts. This not only helps everyone know what's going on, it also helps save time and effort if we decide some changes are needed.
  • Users list: ansible-project
  • Development list: ansible-devel
  • Announcement list: ansible-announce - read only
  • irc.freenode.net: #ansible

Branch Info

  • Releases are named after Led Zeppelin songs. (Releases prior to 2.0 were named after Van Halen songs.)
  • The devel branch corresponds to the release actively under development.
  • Various release-X.Y branches exist for previous releases.
  • We'd love to have your contributions, read Community Information for notes on how to get started.

Authors

Ansible was created by Michael DeHaan (michael.dehaan/gmail/com) and has contributions from over 1000 users (and growing). Thanks everyone!

Ansible is sponsored by Ansible, Inc

License

GNU General Public License v3.0

See COPYING to see the full text.