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
Troy C 3007a8af7e import novaclient.exceptions for cs.images.find
cs.images.find(human_id= throws novaclient.exceptions.NotFound,
resulting in the try/except block with
image = cs.images.find(name=image)  being skipped. catching
novaclient.exception.NotFound allows images to be specified with the
human readable name.

Example:
  tasks:
    - name: Server build request
      local_action:
        module: rax
        region: DFW
        image: Ubuntu 12.04 LTS (Precise Pangolin)

Also, the import is placed after try: import pyrax, because pyrax
imports novaclient and should fail if novaclient is missing.
2013-12-13 16:27:21 -06:00
bin Merge pull request #4817 from j2sol/zero-exit 2013-12-02 10:04:18 -08:00
docs/man Add release history for 1.4.1 into 1.5 branch. 2013-11-27 18:41:07 -05:00
docsite Tweak some task examples to be more in-line with eucalyptus-ec2.yml in language_features 2013-12-12 13:44:33 -06:00
examples Lookup plugin for etcd 2013-10-24 21:28:48 +02:00
hacking Code to limit display of version_added attributions in modules for modules that are too old to call out this information. 2013-11-27 21:34:00 -05:00
lib/ansible Merge pull request #5131 from janeznemanic/devel 2013-12-13 11:00:41 -08:00
library import novaclient.exceptions for cs.images.find 2013-12-13 16:27:21 -06:00
packaging Merge #4689 from dirtyharrycallahan/ansible 2013-12-04 15:59:01 -05:00
plugins Fix loading from cache in ec2.py inventory plugin. 2013-12-05 21:33:25 -08:00
test Ensure test_command tests are actually correct 2013-12-03 12:03:39 +10:00
.gitignore Update the .gitignore based on the docsite restructuring. 2013-11-27 21:35:43 -05:00
CHANGELOG.md Addresses #5276 update documentation for ec2_ami no_reboot parameter 2013-12-12 18:03:00 -05:00
CONTRIBUTING.md correct link to developing modules on ansible work's website 2013-11-18 19:02:51 +00:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile fix make tests to use the set of module from git checkout 2013-11-16 12:45:24 +01:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update README.md 2013-12-01 19:04:20 -05:00
RELEASES.txt Add release history for 1.4.1 into 1.5 branch. 2013-11-27 18:41:07 -05:00
setup.py Add module utils path to setup.py 2013-10-26 15:00:59 -04:00
VERSION Version bump for 1.5 2013-11-21 16:33:23 -05:00

PyPI version

Ansible

Ansible is a radically simple configuration-management, deployment, task-execution, and multinode orchestration framework.

Read the documentation and more at http://ansibleworks.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 want a tarball of the last release, go to http://ansibleworks.com/releases/ and you can also install with pip.

Design Principles

  • Dead simple setup
  • Super fast & parallel by default
  • No server or client daemons; use existing SSHd
  • No additional software required on client boxes
  • Modules can be written in ANY language
  • Awesome API for creating very powerful distributed scripts
  • Be usable as non-root
  • The easiest config management system to use, ever.

Get Involved

  • Read Contributing.md 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.
  • irc.freenode.net: #ansible

Branch Info

  • Releases are 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 "CONTRIBUTING.md" for process notes.

Author

Michael DeHaan -- michael@ansibleworks.com

AnsibleWorks