mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-30 05:23:21 -07:00
Resolving some doc errors.
This commit is contained in:
parent
71ddb80524
commit
4a0e06dc80
8 changed files with 32 additions and 37 deletions
|
@ -431,8 +431,6 @@ the program. Stop by the mailing list to inquire about requirements.
|
||||||
|
|
||||||
:doc:`modules`
|
:doc:`modules`
|
||||||
Learn about available modules
|
Learn about available modules
|
||||||
:doc:`contrib`
|
|
||||||
User contributed playbooks, modules, and articles
|
|
||||||
`Github modules directory <https://github.com/ansible/ansible/tree/devel/library>`_
|
`Github modules directory <https://github.com/ansible/ansible/tree/devel/library>`_
|
||||||
Browse source of core modules
|
Browse source of core modules
|
||||||
`Mailing List <http://groups.google.com/group/ansible-project>`_
|
`Mailing List <http://groups.google.com/group/ansible-project>`_
|
||||||
|
|
|
@ -28,7 +28,7 @@ An Introduction
|
||||||
intro_installation
|
intro_installation
|
||||||
intro_getting_started
|
intro_getting_started
|
||||||
intro_inventory
|
intro_inventory
|
||||||
intro_inventory_dynamic
|
intro_dynamic_inventory
|
||||||
intro_patterns
|
intro_patterns
|
||||||
intro_adhoc
|
intro_adhoc
|
||||||
modules
|
modules
|
||||||
|
|
|
@ -111,7 +111,7 @@ Also note that host key checking in paramiko mode is reasonably slow, therefore
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
:doc:`examples`
|
:doc:`intro_ad_hoc`
|
||||||
Examples of basic commands
|
Examples of basic commands
|
||||||
:doc:`playbooks`
|
:doc:`playbooks`
|
||||||
Learning ansible's configuration management language
|
Learning ansible's configuration management language
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.. _patterns:
|
.. _inventory:
|
||||||
|
|
||||||
Inventory
|
Inventory
|
||||||
=========
|
=========
|
||||||
|
|
|
@ -63,13 +63,11 @@ See :doc:`moduledev`.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
:doc:`contrib`
|
:doc:`intro_adhoc`
|
||||||
User contributed playbooks, modules, and articles
|
|
||||||
:doc:`examples`
|
|
||||||
Examples of using modules in /usr/bin/ansible
|
Examples of using modules in /usr/bin/ansible
|
||||||
:doc:`playbooks`
|
:doc:`playbooks`
|
||||||
Examples of using modules with /usr/bin/ansible-playbook
|
Examples of using modules with /usr/bin/ansible-playbook
|
||||||
:doc:`moduledev`
|
:doc:`developing_modules`
|
||||||
How to write your own modules
|
How to write your own modules
|
||||||
:doc:`api`
|
:doc:`api`
|
||||||
Examples of using modules with the Python API
|
Examples of using modules with the Python API
|
||||||
|
|
|
@ -325,13 +325,13 @@ can do this::
|
||||||
|
|
||||||
:doc:`YAMLSyntax`
|
:doc:`YAMLSyntax`
|
||||||
Learn about YAML syntax
|
Learn about YAML syntax
|
||||||
:doc:`bestpractices`
|
:doc:`playbooks_bestpractices`
|
||||||
Various tips about managing playbooks in the real world
|
Various tips about managing playbooks in the real world
|
||||||
:doc:`modules`
|
:doc:`modules`
|
||||||
Learn about available modules
|
Learn about available modules
|
||||||
:doc:`moduledev`
|
:doc:`developing_modules`
|
||||||
Learn how to extend Ansible by writing your own modules
|
Learn how to extend Ansible by writing your own modules
|
||||||
:doc:`patterns`
|
:doc:`intro_patterns`
|
||||||
Learn about how to select hosts
|
Learn about how to select hosts
|
||||||
`Github examples directory <https://github.com/ansible/ansible/tree/devel/examples/playbooks>`_
|
`Github examples directory <https://github.com/ansible/ansible/tree/devel/examples/playbooks>`_
|
||||||
Complete playbook files from the github project source
|
Complete playbook files from the github project source
|
||||||
|
|
|
@ -85,8 +85,7 @@ If a required variable has not been set, you can skip or fail using Jinja2's
|
||||||
This is especially useful in combination with the conditional import of vars
|
This is especially useful in combination with the conditional import of vars
|
||||||
files (see below).
|
files (see below).
|
||||||
|
|
||||||
.. note :: When combining `when` with `with_items`, be aware that the `when` statement is processed separately for each item.
|
Note that when combining `when` with `with_items` (see :doc:`playbook_loops`), be aware that the `when` statement is processed separately for each item. This is by design::
|
||||||
This is by design::
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- command: echo {{ item }}
|
- command: echo {{ item }}
|
||||||
|
|
|
@ -63,7 +63,7 @@ contain all of my wordpress tasks in a single wordpress.yml file, and use it lik
|
||||||
- include: wordpress.yml user=alice
|
- include: wordpress.yml user=alice
|
||||||
- include: wordpress.yml user=bob
|
- include: wordpress.yml user=bob
|
||||||
|
|
||||||
Variables passed in can then be used in the included files. We've already covered them a bit in :doc:`intro_variales`.
|
Variables passed in can then be used in the included files. We've already covered them a bit in :doc:`intro_variables`.
|
||||||
You can reference them like this::
|
You can reference them like this::
|
||||||
|
|
||||||
{{ user }}
|
{{ user }}
|
||||||
|
@ -318,7 +318,7 @@ The resulting order of execution would be as follows::
|
||||||
Learn about YAML syntax
|
Learn about YAML syntax
|
||||||
:doc:`playbooks`
|
:doc:`playbooks`
|
||||||
Review the basic Playbook language features
|
Review the basic Playbook language features
|
||||||
:doc:`bestpractices`
|
:doc:`playbooks_best_practices`
|
||||||
Various tips about managing playbooks in the real world
|
Various tips about managing playbooks in the real world
|
||||||
:doc:`modules`
|
:doc:`modules`
|
||||||
Learn about available modules
|
Learn about available modules
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue