Commit Graph

15 Commits (a6b00547f46591603858f9675d0e5740c2fe29ad)

Author SHA1 Message Date
Stephen Fromm cbebdf744b Wrap getpwnam in try/except in authorized_key module
This also adds module as an argument to keyfile().
12 years ago
Daniel Hokka Zakrisson 447ea1624a When atomically replacing files, copy attributes 12 years ago
Stephen Fromm 93081eab8e Use shutil.copyfile so as to preserve file ownership in authorized_keys 12 years ago
Stephen Fromm f70fcf6abb Create temp file in directory where ssh key lives 12 years ago
Stephen Fromm 4bce10c303 Write keys file to temp location to avoid potential corruption 12 years ago
Jan-Piet Mens d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Michael DeHaan 2d096ea425 Fixing various module related things. 12 years ago
Jan-Piet Mens c78a0a4a49 Jumbo DOCUMENTATION patch 12 years ago
Jan-Piet Mens 267ada33eb Module DOCUMENTATION: assemble, authorized_key, command, copy
plus a small fix in rst.j2 template
  manpages generated & checked
  modules.html generated & checked
12 years ago
Michael DeHaan 5ed21bf443 whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
in 0.6 release)
12 years ago
Michael DeHaan baacde6c74 Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
12 years ago
Michael DeHaan 004c21c913 Convert authorized_key modules to use new common code + misc style things 13 years ago
Brad Olson 9e13c1eab1 Fixes ansible/ansible#522, no longer creates comment in ~/.ssh/authorized_keys, does not create directory or file if state==absent. 13 years ago
Brad Olson ae5b1191f4 Fixes ansible/ansible#523. Removed 'with:' blocks so module works with Python 2.4 for CentOS 5 support, courtesy of mcodd/ansible@29af24b732. 13 years ago
Brad Olson f34ebe735e Renamed module, fixed idempotency, removed debug param. 13 years ago