Add note about facter/ohai integration into module docs.

pull/3/head
Michael DeHaan 13 years ago
parent b622429738
commit 4201865bba

@ -125,6 +125,8 @@ The name of the service
.SH "SETUP" .SH "SETUP"
.sp .sp
Writes a JSON file containing key/value data, for use in templating\&. Call this once before using the template modules, usually as the very first step in your playbook\&. Writes a JSON file containing key/value data, for use in templating\&. Call this once before using the template modules, usually as the very first step in your playbook\&.
.sp
If facter or ohai are installed, variables from these programs will also be snapshotted into the JSON file for usage in templating\&. These variables are prefixed with \fIfacter_\fR and \'ohai_" so it\(cqs easy to tell their source\&.
.PP .PP
\fBmetadata=\fR \fBmetadata=\fR
.RS 4 .RS 4

@ -150,6 +150,10 @@ Writes a JSON file containing key/value data, for use in templating.
Call this once before using the template modules, usually as the very Call this once before using the template modules, usually as the very
first step in your playbook. first step in your playbook.
If facter or ohai are installed, variables from these programs will also
be snapshotted into the JSON file for usage in templating. These variables
are prefixed with 'facter_' and 'ohai_" so it's easy to tell their source.
*metadata=*:: *metadata=*::
Optionally overrides the default JSON file location of /etc/ansible/setup. Optionally overrides the default JSON file location of /etc/ansible/setup.

Loading…
Cancel
Save