mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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:
parent
799fb60051
commit
dfd60149c0
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue