No description
Find a file
Lorin Hochstein 8c9cceacbf authorized_key: Set manage_dir default value
This commit fixes a bug where the authorized_key module causes
the ~user/.ssh directory to be owned by root instead of the user,
when the manage_dir argument is not specified.

If the manage_dir argument was not specified, the module behaved as if
manage_dir was set to false, even though it's supposed to default to
true.

This module assumed that an optional argument, with no default
specified, will not be present in the module.params dictionary.

What actually seems to happen is that the argument does appear in
the module.params dictionary with a value of None.

The upside is that this line was evaluating to None instead of
true:

    manage_dir = params.get("manage_dir", True)

I fixed the problem in this particular module by explicitly specifying
the default value for the manage_dir arugment. But if this bug
occurred because of a change in behavior in AnsibleModule, then other
modules may be broken as well.
2013-05-30 16:16:14 -04:00
bin Fix empty requirements specifications in modules documentation 2013-05-16 17:15:21 +02:00
docs/man Manpage tweaks, docs rebuild 2013-05-29 10:30:04 -04:00
docsite Add AWS doc to table of contents. 2013-05-29 14:17:32 -04:00
examples Add version added field to notification modules. 2013-05-11 16:36:37 -04:00
hacking Fixup the module formatter to explain the EXAMPLES string as well. 2013-05-11 16:32:22 -04:00
lib/ansible Fix copy when force=no and update _remote_md5 docs. 2013-05-29 10:14:47 -04:00
library authorized_key: Set manage_dir default value 2013-05-30 16:16:14 -04:00
packaging Not sure why RPM was trying to avoid certain files starting with f. Change that. 2013-05-29 14:21:25 -04:00
plugins This plugin is not quite ready as it needs to support --host <hostname> and --list, like the other inventory plugins, but we should get this tweaked and include it once it is standardized. Watch this space! 2013-05-29 09:58:29 -04:00
test Plug-ins loaded from top-level plug-in directory 2013-05-24 17:05:28 -05:00
.gitignore Ignore Intellij IML files. 2013-05-23 09:11:38 +10:00
CHANGELOG.md Fix tabs and spaces in OpenStack modules. 2013-05-24 23:34:48 -04:00
CONTRIBUTING.md Add a line about testing. 2013-02-23 12:41:00 -05:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile Not sure why RPM was trying to avoid certain files starting with f. Change that. 2013-05-29 14:21:25 -04:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update README.md 2013-04-06 17:22:21 -03:00
RELEASES.txt Update the release date & code names in the releases file. 2013-04-20 18:21:25 -04:00
setup.py fix package mentioned twice in setup.py 2013-05-15 21:02:53 +02:00
VERSION Update release version. 2013-04-02 20:48:30 -04: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@ansibleworks.com

AnsibleWorks