Jan-Piet Mens
d184f72aa9
DOCUMENTATION strings
12 years ago
Michael DeHaan
6f6559670f
chmod -x for all module files in source checkout
12 years ago
Michael DeHaan
78669c57d5
Module documentation should have options sorted
12 years ago
Jan-Piet Mens
c78a0a4a49
Jumbo DOCUMENTATION patch
12 years ago
Jan-Piet Mens
eef198144f
DOCUMENTATION for fetch,mount,ohai,easy_install
...
- .rst now supresses default if none is set (looks better in HTML)
- .rst now handles empty options list
- Fixed postgresql_user and mysql_user because YAML contained colons
- docs for facter
12 years ago
Michael DeHaan
3c2eba57fd
Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
...
directory.
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.
13 years ago
Nikhil Singh
51a8aaf494
Changed funtion name to get_ohai_data
13 years ago
Michael DeHaan
4782bc1949
Port the file module over to the new common code infrastructure + cleanup some redundant imports since the module code already imports those things.
13 years ago
Michael DeHaan
2105418b73
Port the ohai module over, while this is actually *longer* now, not transferring the args file makes this much
...
faster.
13 years ago
Stephen Fromm
67ee30f135
Apply logging of arguments to modules (issue #122 )
...
The ohai and facter modules use /usr/bin/logger to log the fact that
they have been invoked. I added 'import os' to the ping module
so that it could have the same syslog statements as the other modules.
I separated the condensed:
shlex.split(open(argfile, 'r').read())
into two separate statements similar to the other modules.
13 years ago
Jeroen Hoekx
48c210c5ff
Ohai and facter modules should not use the ansible_facts API.
13 years ago
Jeroen Hoekx
08ba4928dc
Allow modules to return facts.
...
If the module result contains "ansible_facts", that will be added to the setup
cache.
13 years ago
Michael DeHaan
c281ce635a
Still seeing some weirdness from ohai but we can probably simplify
...
this until we figure out what that is.
13 years ago
Michael DeHaan
a6b1f6c91f
merge Seth's ansible-command script with ansible proper, so we can do nice output, one line output,
...
and treeish saving everywhere.
there are probably some quirks here we'll want to refine further later, for instance, we should
be able to do nicer things with "can't contact host tracebacks".
13 years ago
Michael DeHaan
1bd1552b43
Relicensing to GPLv3, all previous committers ok'd on mailing list.
13 years ago
Michael DeHaan
fed3462502
applying indentation patch from skvidal
13 years ago
Michael DeHaan
814951b8e1
Update ohai module to run on older python clients.
13 years ago
Michael DeHaan
0cf1ef735d
Added an 'ohai' module. Some weird JSON hackage to get it to work.
13 years ago