1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Find a file
Monty Taylor 61ae3c732f Add required_if to AnsibleModule
There is a common pattern in modules where some parameters are required
only if another parameter is present AND set to a particular value. For
instance, if a cloud server state is "present" it's important to
indicate the image to be used, but if it's "absent", the image that was
used to launch it is not necessary. Provide a check that takes as an
input a list of 3-element tuples containing parameter to depend on, the
value it should be set to, and a list of parameters which are required
if the required parameter is set to the required value.
2014-10-26 10:52:40 -07:00
bin Remove no-op string declaration 2014-10-09 17:04:45 +01:00
docs/man Update test strategies guide. 2014-05-26 08:12:39 -04:00
docsite Add AnsibleFest London link. 2014-10-22 14:19:17 -04:00
examples changes for package loading of modules 2014-09-26 11:25:56 -04:00
hacking Merge pull request #9384 from insaneirish/devel 2014-10-20 22:08:52 -04:00
lib/ansible Add required_if to AnsibleModule 2014-10-26 10:52:40 -07:00
packaging Fixes Arch PKGBUILD 2014-10-08 10:41:29 +02:00
plugins Merge pull request #9336 from dpkirchner/devel 2014-10-20 14:39:05 -05:00
test New test that newlines in systemd service scripts don't cause problems 2014-10-22 16:38:01 -04:00
ticket_stubs Update _module_pr_move.md 2014-09-29 16:14:41 -04:00
v2 Adding a data parsing class for v2 2014-10-24 14:06:43 -05:00
.gitignore Updated DEB build workflow 2014-06-20 16:09:02 -04:00
.gitmodules Use https for git submodules 2014-10-10 10:13:46 +10:00
CHANGELOG.md Changelog entry for #9182 specifying the sudo command. 2014-09-30 15:06:17 -04:00
CODING_GUIDELINES.md CODING_GUIDELINES: Fix typo: / => \ 2014-06-28 08:21:15 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-09-10 13:00:57 -04:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
ISSUE_TEMPLATE.md Replacing the issues template with the updated one from examples 2014-09-09 11:10:49 -05:00
Makefile Tell nose to include branches in its coverage reporting 2014-10-21 16:41:16 -04:00
MANIFEST.in Fix packaging to work with new module location 2014-09-29 10:22:15 -04:00
README.md Update README.md 2014-09-28 15:24:44 -04:00
RELEASES.txt Adding in docs updates for 1.7.2 release 2014-09-24 15:53:36 -05:00
setup.py Fix packaging to work with new module location 2014-09-29 10:22:15 -04:00
VERSION Version bump for 1.8 2014-08-06 13:17:28 -05:00

PyPI version PyPI downloads

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 http://ansible.com/

Many users run straight from the development branch (it's generally fine to do so), but you might also wish to consume a release.

You can find instructions here for a variety of platforms. If you decide to go with the development branch, be sure to run "git submodule update --init --recursive" after doing a checkout.

If you want to download a tarball of a release, go to releases.ansible.com, though most users use yum (using the EPEL instructions linked above), apt (using the PPA instructions linked above), or "pip install ansible".

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 Van Halen songs.
  • The devel branch corresponds to the release actively under development.
  • As of 1.8, modules are kept in different repos, you'll want to follow core and extras
  • 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@ansible.com) and has contributions from over 800 users (and growing). Thanks everyone!

Ansible is sponsored by Ansible, Inc