No description
Find a file
Sam Doran 17109ecedd [stable-2.7] Reboot - Fix command not found, add Apline support, fix Solaris command (#49272)
* Fix various bugs related in reboot

- Use format strings for consistency and improve debug log messages
- Use local variables instead of class attributes in order to be thread safe
- Run setup module to get distribution and version
- Run find module to get full path of shutdown command
- Use ansible_os_family and ansible_distribution to find commands and args
- Use same command for all Solaris/SunOS distributions
- Move delay calculations to properties
- Reliably check for module run failure
- Fix bug in run_test_command() that accidentally made the method work properly
- Use better exceptions rather than Exception
- Use dict literals rather than constructors
- Correct _check_delay() so it always returns a value, not None
- Don't store and return result in run_test_command() because it's not used anywhere
- add test for post reboot command that fails
- test negative values for delay parameters.
(cherry picked from commit c1589c33c4)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-01-07 09:16:58 -08:00
.github (Backport) ec2_instance, ebs_optimized not sub-option of network (#48467) 2018-11-12 19:23:31 -08:00
bin Make ansible-test available in the bin directory. (#45876) 2018-10-09 18:25:24 -07:00
changelogs [stable-2.7] Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 2019-01-07 09:16:58 -08:00
contrib Misc typo fixes (#45969) (#45978) 2018-09-21 13:56:35 -05:00
docs link to KB article -certified modules (#50050) (#50052) 2018-12-18 12:16:30 -06:00
examples Add 'auto' to documented default enabled inventory plugins (#46621) (#46637) 2018-10-08 15:22:03 -05:00
hacking Make ansible-test available in the bin directory. (#45876) 2018-10-09 18:25:24 -07:00
lib/ansible [stable-2.7] Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 2019-01-07 09:16:58 -08:00
licenses
packaging [stable-2.7] Fix the changelog links to porting guide to be anonymous 2018-11-15 13:43:13 -08:00
test [stable-2.7] Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 2019-01-07 09:16:58 -08:00
.cherry_picker.toml 🚸 🐍 🍒 ⛏ Integrate cherry picker (#41403) 2018-07-12 19:34:02 +03:00
.coveragerc AnsiballZ improvements 2018-07-26 20:07:25 -07:00
.gitattributes 2.6 changelog gen/version/root dir cleanup (#40421) 2018-05-21 16:14:53 -07:00
.gitignore removes docs/api dir from .gitignore and Makefile (#47366) 2018-11-05 15:10:52 -08:00
.mailmap Fix syntax typo 2017-12-24 12:16:17 +01:00
CODING_GUIDELINES.md [stable-2.7] bulk docs update (#47828) 2018-10-30 14:45:41 -05:00
COPYING
docsite_requirements.txt
Makefile removes docs/api dir from .gitignore and Makefile (#47366) 2018-11-05 15:10:52 -08:00
MANIFEST.in powershell - add bootstrap wrapper to packaging manifest 2018-11-30 08:48:24 -08:00
MODULE_GUIDELINES.md [stable-2.7] bulk docs update (#47828) 2018-10-30 14:45:41 -05:00
README.rst [stable-2.7] bulk docs update (#47828) 2018-10-30 14:45:41 -05:00
requirements.txt
setup.py powershell - add bootstrap wrapper to packaging manifest 2018-11-30 08:48:24 -08:00
shippable.yml ansible-test - swap Fedora 25 for 29 (#49634) 2018-12-10 10:11:18 -08:00
tox.ini Fix ansible-test unit test execution. (#45772) 2018-10-09 18:25:24 -07:00

PyPI version Docs badge Chat badge 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 to the devel branch.
  • Feel free to talk to us before making larger changes 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
  • For the full list of Email Lists, IRC channels see the Communication page

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.
  • The stable-2.x branches exist for current releases.
  • Various release-X.Y branches exist for previous releases.
  • For information about the active branches see the Ansible release and maintenance page.
  • We'd love to have your contributions, read the Community Guide for notes on how to get started.

Roadmap

Based on team and community feedback, an initial roadmap will be published for a major or minor version (ex: 2.0, 2.1). Subminor versions will generally not have roadmaps published.

The Ansible Roadmap page details what is planned and how to influence the roadmap.

Authors

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

Ansible is sponsored by Red Hat, Inc.

License

GNU General Public License v3.0

See COPYING to see the full text.