[Docs] Small cleanups to advanced config
Change-Id: Ia5b00ea9398154609773704a58cefcddf9b449e8
This commit is contained in:
@@ -277,12 +277,12 @@ Example task using the config_template module
|
|||||||
config_template:
|
config_template:
|
||||||
src: test.ini.j2
|
src: test.ini.j2
|
||||||
dest: /tmp/test.ini
|
dest: /tmp/test.ini
|
||||||
config_overrides: {{ test_overrides }}
|
config_overrides: "{{ test_overrides }}"
|
||||||
config_type: ini
|
config_type: ini
|
||||||
|
|
||||||
|
|
||||||
Example overrides dictionary(hash)
|
Example overrides dictionary (hash)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
@@ -291,8 +291,8 @@ Example overrides dictionary(hash)
|
|||||||
new_item: 12345
|
new_item: 12345
|
||||||
|
|
||||||
|
|
||||||
Original template file test.ini.j2
|
Original template file ``test.ini.j2``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
@@ -301,8 +301,8 @@ Original template file test.ini.j2
|
|||||||
value2 = 123
|
value2 = 123
|
||||||
|
|
||||||
|
|
||||||
Rendered on disk file /tmp/test.ini
|
Rendered on disk file ``/tmp/test.ini``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
@@ -314,7 +314,7 @@ Rendered on disk file /tmp/test.ini
|
|||||||
|
|
||||||
In this task the ``test.ini.j2`` file is a template which will be rendered and
|
In this task the ``test.ini.j2`` file is a template which will be rendered and
|
||||||
written to disk at ``/tmp/test.ini``. The **config_overrides** entry is a
|
written to disk at ``/tmp/test.ini``. The **config_overrides** entry is a
|
||||||
dictionary(hash) which allows a deployer to set arbitrary data as overrides to
|
dictionary (hash) which allows a deployer to set arbitrary data as overrides to
|
||||||
be written into the configuration file at run time. The **config_type** entry
|
be written into the configuration file at run time. The **config_type** entry
|
||||||
specifies the type of configuration file the module will be interacting with;
|
specifies the type of configuration file the module will be interacting with;
|
||||||
available options are "yaml", "json", and "ini".
|
available options are "yaml", "json", and "ini".
|
||||||
|
|||||||
Reference in New Issue
Block a user