Michael DeHaan
|
6f6559670f
|
chmod -x for all module files in source checkout
|
12 years ago |
Daniel Hokka Zakrisson
|
1ba31e3c38
|
Use single-quotes to contain SSH keys as they may contain double-quotes
Fixes #1624.
|
12 years ago |
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
|
12 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 |