Commit Graph

9 Commits (004c21c913f88c6bb6bb7d2d92084ce7076e3f48)

Author SHA1 Message Date
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