No description
Find a file
Kavin Kankeshwar 3042366199 Fixing logical error in detecting virtual device.
So In my Centos 5.9 machine, if there is RAID mount ansible will crash, as it cannot find scheduler file. The reason being, this should be a virtual device as there is no "device" folder under e.g. /sys/block/md0/

Here is the crash:

[kk@u1 ansible]$ ansible q3 -m setup -k -u root --tree=/tmp/facts
SSH password:
q3 | FAILED => failed to parse: /sys/block/md0
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 1797, in ?
    main()
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 1050, in main
    data = run_setup(module)
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 1000, in run_setup
    facts = ansible_facts()
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 990, in ansible_facts
    facts.update(Hardware().populate())
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 312, in populate
    self.get_device_facts()
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 439, in get_device_facts
    m = re.match(".*?(\[(.*)\])", scheduler)
  File "/usr/lib64/python2.4/sre.py", line 129, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
2013-02-11 18:23:58 -08:00
bin Fix crontab doc formatting 2013-02-09 14:29:31 -05:00
docs/man Correct -u description in ansible man page 2013-02-09 19:24:53 -08:00
docsite Additions to Who Uses Ansible 2013-02-09 23:05:09 -05:00
examples Remove unneccesary quotes from user task 2013-02-10 14:32:43 -05:00
hacking Make sure all the lookup plugins are documented. 2013-02-02 11:51:25 -05:00
lib/ansible Allow using other users' home directories as well 2013-02-11 23:43:30 +01:00
library Fixing logical error in detecting virtual device. 2013-02-11 18:23:58 -08:00
packaging Merge pull request #1986 from jcftang/devel 2013-02-07 05:04:03 -08:00
plugins Only inventory "running" EC2 instances. "stopped" is also a valid state and these should not be inventoried. 2013-01-30 11:01:25 -08:00
test Cron module upgrades 2013-02-09 11:11:19 -05:00
.gitignore Fix documentation consistency in .gitignore 2012-10-12 17:37:30 -04:00
CHANGELOG.md Add ansible_ssh_user/pass to enable inventory-defined users 2013-02-10 23:22:18 +01:00
CONTRIBUTING.md Add a bit more info about tests to CONTRIBUTING 2012-10-21 07:15:30 -04:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile Fix documentation YAML for pkgin module 2013-01-26 12:44:43 -05:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update README.md 2013-02-03 22:20:04 -05:00
RELEASES.txt Fix up some version related things on the devel branch. 2013-02-01 21:38:21 -05:00
setup.py CLI: ansible-doc shows lists of modules & module docs on command-line 2012-11-30 21:57:25 -05:00
VERSION Fix up some version related things on the devel branch. 2013-02-01 21:38:21 -05:00

Ansible

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

Read the documentation and more at http://ansible.cc

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 on http://ansible.cc/docs/gettingstarted.html for a variety of platforms. If you want a tarball of the last release, go to http://ansible.cc/releases/ and you can also install with pip (though that will bring in some optional binary dependencies you normally do not need).

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

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.dehaan@gmail.com

http://michaeldehaan.net