No description
Find a file
Sam Doran ea3638b580 Add proper check mode support to the script module (#31852)
* Do not run script in check mode

Fixes #30676

* Reformat script integration test

* Add integration tests for check mode of script module

* Fix name on test

* Cleanup temp file

* win_script integration test syntaxt changes

* Add check mode tests for win_script

* Use proper variable in test

* Fail if source file does not exist

* Verify script is accessible and don't copy in check mode

Use shlex to properly split shell arguments, though a path with spaces in it still needs to be quoted in the playbook.
Add note to docs describing such.
Improve error message if file is not found indicating there may be a space in the path.

* Properly encode path now that path is split using shlex

* Allow for spaces in both path and script name

* Add unicode character test to Linux script tests

* Add Linux test for space in path to script
2017-11-13 15:33:44 -08:00
.github Remove angstwad at his request, remove myself from things I no longer maintain (#32865) 2017-11-13 15:36:13 -06:00
bin Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
contrib Exception handling in vmware_inventory for vcsim (#32700) 2017-11-12 21:29:25 -05:00
docs Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
examples Set example ansible.cfg *includes_static options to default value 2017-11-02 19:42:08 -04:00
hacking ec2_group: add rule description support - fixes #29040 (#30273) 2017-10-24 21:18:56 -04:00
lib/ansible Add proper check mode support to the script module (#31852) 2017-11-13 15:33:44 -08:00
licenses Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
packaging reverse order of release numbers 2017-10-25 13:23:46 -07:00
test Add proper check mode support to the script module (#31852) 2017-11-13 15:33:44 -08:00
ticket_stubs
.coveragerc Docker image updates for integration tests. (#26054) 2017-06-23 12:45:38 -07:00
.gitattributes avoid exporting files useless to dist 2017-06-23 15:56:43 -04:00
.gitignore Keywords docs (#32807) 2017-11-10 16:59:26 -08:00
.gitmodules
.mailmap
.yamllint
ansible-core-sitemap.xml Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
CHANGELOG.md updated changelog with playbookd_dir 2017-11-10 14:26:36 -08:00
CODING_GUIDELINES.md PEP8 set the line limit (#32578) 2017-11-06 13:38:54 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md to point to the right stuff (#32258) 2017-10-27 11:27:25 -04:00
COPYING
docsite_requirements.txt
Makefile Fix make clean to remove test reports correctly 2017-09-18 16:49:16 -07:00
MANIFEST.in powershell setup fixes (#27516) 2017-07-31 12:16:26 -07:00
MODULE_GUIDELINES.md Moving guidelines to the official docs (#32260) 2017-10-27 11:40:42 -04:00
README.md devel usage README update (#30369) 2017-09-14 10:48:58 -07:00
RELEASES.txt Use a more convenient and standard date format 2017-09-14 16:12:57 +02:00
requirements.txt Cyptography pr 20566 rebase (#25560) 2017-06-27 06:00:15 -07:00
ROADMAP.rst docs: fix community meetings link (#27264) 2017-07-25 09:23:01 -04:00
setup.py set the zip_safe flag to False (#32194) 2017-10-27 12:47:45 -04:00
shippable.yml Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
tox.ini Update tox.ini to use ansible-test. 2017-06-30 16:41:30 -07:00
VERSION Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00

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.