Commit Graph

8 Commits (887d3993c4fc804438a0ca5d0fc5fedb2d4c3e98)

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
Cosmin Luță bc2df5bb40 Prevent facter stderr messages from confusing ansible 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 ab04aad0f1 Extensive refactoring of bin/ansible, moving most output functions into lib/ansible/utils to
encourage readability and make things more maintainable.
13 years ago
Michael DeHaan c3a0cfe4f3 Let "all" be an alias for "*" in patterns, fix output bug on non-command execution, make clean now removes the build dir 13 years ago
Michael DeHaan 1bd1552b43 Relicensing to GPLv3, all previous committers ok'd on mailing list. 13 years ago
Michael DeHaan 4d62e00854 Example facter module. Look how quick that was. 13 years ago