Update docs (#248)

* Add reference to module defaults groups docs.

* Fix bad quote.
This commit is contained in:
Felix Fontein 2024-01-06 09:38:12 +01:00 committed by GitHub
parent 9c75b9c5cd
commit 56ce47aef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ Check out the documentation of the :ansplugin:`community.routeros.api module <co
Using the ``community.routeros.api`` module defaults group Using the ``community.routeros.api`` module defaults group
---------------------------------------------------------- ----------------------------------------------------------
To avoid having to specify common parameters for all the API based modules in every task, you can use the ``community.routeros.api`` module defaults group: To avoid having to specify common parameters for all the API based modules in every task, you can use the ``community.routeros.api`` :ref:`module defaults group <module_defaults_groups>`:
.. code-block:: yaml+jinja .. code-block:: yaml+jinja
@ -85,7 +85,7 @@ To avoid having to specify common parameters for all the API based modules in ev
# If you are using your own PKI, specify the path to your CA certificate here: # If you are using your own PKI, specify the path to your CA certificate here:
# ca_path: /path/to/ca-certificate.pem # ca_path: /path/to/ca-certificate.pem
tasks: tasks:
- name: Gather facts" - name: Gather facts
community.routeros.api_facts: community.routeros.api_facts:
- name: Get "ip address print" - name: Get "ip address print"