1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Misc rst tweaks

This commit is contained in:
Michael DeHaan 2013-10-02 22:06:56 -04:00
parent 2478c1d44d
commit 0c2994f653
3 changed files with 9 additions and 6 deletions

View file

@ -3,9 +3,9 @@ Using Lookups
Lookup plugins allow access of data in Ansible from outside sources. This can include the filesystem Lookup plugins allow access of data in Ansible from outside sources. This can include the filesystem
but also external datastores. These values are then made available using the standard templating system but also external datastores. These values are then made available using the standard templating system
in Ansible. in Ansible, and are typically used to load variables or templates with information from those systems.
.. note:: This is considered an advanced feature, and many users will probably not rely on these features. .. note:: This is considered an advanced feature, and many users will probably not rely on these features.
Intro to Lookups: Getting File Contents Intro to Lookups: Getting File Contents
``````````````````````````````````````` ```````````````````````````````````````

View file

@ -2,8 +2,9 @@ Tags
==== ====
If you have a large playbook it may become useful to be able to run a If you have a large playbook it may become useful to be able to run a
specific part of the configuration. Both plays and tasks support a specific part of the configuration without running the whole playbook.
"tags:" attribute for this reason.
Both plays and tasks support a "tags:" attribute for this reason.
Example:: Example::

View file

@ -1,12 +1,14 @@
Variables Variables
========= =========
While automation exists to make it easier to make things repeatable, all of your systems are likely not exactly alike.
All of your systems are likely not the same. On some systems you may want to set some behavior All of your systems are likely not the same. On some systems you may want to set some behavior
or configuration that is slightly different from others. or configuration that is slightly different from others.
Also, some of the observed behavior or state Also, some of the observed behavior or state
of remote systems might need to influence how you configure those systems. (Such as you can find out the IP of remote systems might need to influence how you configure those systems. (Such as you might need to find out the IP
address of a system and even use it as a configuration value on ANOTHER system). address of a system and even use it as a configuration value on another system).
You might have some templates for configuration files that are mostly the same, but slightly different You might have some templates for configuration files that are mostly the same, but slightly different
based on those variables. based on those variables.