From 8149e15be3fafe4f5b91ef27c956d6af78323651 Mon Sep 17 00:00:00 2001 From: Shourai <10200748+Shourai@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:11:42 +0000 Subject: [PATCH] Add documentation for the option `oob_ip_as_primary_ip` in nb_inventory plugin Add documentation for the option `oob_ip_as_primary_ip` in nb_inventory plugin --- docs/plugins/nb_inventory_inventory.rst | 45 +++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/docs/plugins/nb_inventory_inventory.rst b/docs/plugins/nb_inventory_inventory.rst index f52447e4e..1c29bf977 100644 --- a/docs/plugins/nb_inventory_inventory.rst +++ b/docs/plugins/nb_inventory_inventory.rst @@ -1296,7 +1296,7 @@ Parameters .. raw:: html - + * - .. raw:: html
@@ -1698,6 +1698,47 @@ Parameters
+ * - .. raw:: html + +
+
+ + .. _ansible_collections.netbox.netbox.nb_inventory_inventory__parameter-plurals: + + .. rst-class:: ansible-option-title + + **oob_ip_as_primary_ip** + + .. raw:: html + + + + .. ansible-option-type-line:: + + :ansible-option-type:`boolean` + + + .. raw:: html + +
+ + - .. raw:: html + +
+ + If True, `ansible_host` will be set to the out of band ip address if defined, else it will use the `primary_ip`. + + .. rst-class:: ansible-option-line + + :ansible-option-choices:`Choices:` + + - :ansible-option-choices-entry:`false` :ansible-option-choices-default-mark:`← (default)` + - :ansible-option-choices-entry-default:`true` + + + .. raw:: html + +
* - .. raw:: html
@@ -2388,7 +2429,7 @@ Examples .. code-block:: yaml+jinja - + # netbox_inventory.yml file in YAML format # Example command line: ansible-inventory -v --list -i netbox_inventory.yml