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
Pilou ade593da52 Copy module: improve tests allowing to use a managed host which isn't the controller host (#25672)
* set output_dir_expanded using module result

'path' values are expanded using 'expandvars' too

* foo.txt is located in 'files' directory

* Use 'role_path' and 'connection: local' for local paths

'{{ role_path }}/tmp' is used for generated paths

* Use local connection with local paths

/tmp/ansible-test-abs-link and /tmp/ansible-test-abs-link-dir are
defined by targets/copy/files/subdir/subdir1/ansible-test-abs-link
and targets/copy/files/subdir/subdir1/ansible-test-abs-link-dir links.

* task names: add a suffix when same name is reused

* Check that item exists before checking file mode

then error message is more explicit when item doesn't exist

* Use output_dir_expanded only when necessary

* Enforce remote_user when root is required

* Fix remote path

* Use different local & remote user

this is useful when controller and managed hosts are identical

* Checks must not expect output of tested module to be right

* Use a temporary directory on the controller

* Use sha1 & md5 filters instead of hardcoded values

* Use 'remote_dir' for directory on managed host

* Workaround tempfile error on OS X

Error was:
temp_path = tempfile.mkdtemp(prefix='ansible_')
AttributeError: 'module' object has no attribute 'mkdtemp'"
7 years ago
.github The choffman github nick is not the actual author of the rabbitmq module 7 years ago
bin ansible-connection Python3 fix (#26441) 7 years ago
contrib Fix undefined variables, basestring usage, and some associated python3 issues 7 years ago
docs Updated package locations. 7 years ago
examples Fix one name in module error due to rewritten VariableManager 7 years ago
hacking [cloud] Fix setup_iam to use policy_name, not PolicyName (#26880) 7 years ago
lib/ansible Fix broken import in utilities.helper._accelerate (#27088) 7 years ago
packaging Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST 7 years ago
test Copy module: improve tests allowing to use a managed host which isn't the controller host (#25672) 7 years ago
ticket_stubs
.coveragerc Docker image updates for integration tests. (#26054) 7 years ago
.gitattributes avoid exporting files useless to dist 7 years ago
.gitignore Remove old/obsolete directories from .gitignore (#26680) 7 years ago
.gitmodules
.mailmap add mailmap entries for @resmo 8 years ago
.yamllint
CHANGELOG.md Add missing new win_group_member module (#27514) 7 years ago
CODING_GUIDELINES.md Use pycodestyle instead of pep8 (#25947) 7 years ago
CONTRIBUTING.md
COPYING
MANIFEST.in powershell setup fixes (#27516) 7 years ago
MODULE_GUIDELINES.md Add a direct link to the maintainer's file (#26450) 7 years ago
Makefile Add make target for printing version (#26657) 7 years ago
README.md Fix installation instructions link in the README (#24754) 8 years ago
RELEASES.txt Replace RELEASES.txt with the latest version. 7 years ago
ROADMAP.rst docs: fix community meetings link (#27264) 7 years ago
VERSION Bumping devel version to 2.4.0 8 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) 7 years ago
setup.py powershell setup fixes (#27516) 7 years ago
shippable.yml Use subset of Windows tests for "all" tests. (#26830) 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/

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.

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.
  • For releases 1.8 - 2.2, 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.dehaan/gmail/com) and has contributions from over 1000 users (and growing). Thanks everyone!

Ansible is sponsored by Ansible, Inc

Licence

GNU Click on the Link to see the full text.