Add link to setup module when ansible vars first referenced.

Add a cross-reference link to the setup module documentation, so
users know where to look to find more detail about what ansible
variables are available.
This commit is contained in:
Lorin Hochstein 2012-07-25 15:21:42 -04:00
parent 799fb60051
commit dfd60149c0

View file

@ -118,7 +118,10 @@ variables.
Facter variables are prefixed with ``facter_`` and Ohai
variables are prefixed with ``ohai_``. Ansible variables (0.3 and later)
are not surprisingly prefixed with ``ansible_``. So for instance, if I wanted
are not surprisingly prefixed with ``ansible_`` (See the :ref:`setup` module
documentation for a list of Ansible variables).
So for instance, if I wanted
to write the hostname into the /etc/motd file, I could say::
- name: write the motd