.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. meta:: :antsibull-docs: 2.16.3 .. Anchors .. _ansible_collections.codeaffen.phpipam.address_module: .. Anchors: short name for ansible.builtin .. Title codeaffen.phpipam.address module -- Manage addresses ++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This module is part of the `codeaffen.phpipam collection `_ (version 1.7.1). It is not included in ``ansible-core``. To check whether it is installed, run :code:`ansible-galaxy collection list`. To install it, use: :code:`ansible-galaxy collection install codeaffen.phpipam`. You need further requirements to be able to use this module, see :ref:`Requirements ` for details. To use it in a playbook, specify: :code:`codeaffen.phpipam.address`. .. version_added .. rst-class:: ansible-version-added New in codeaffen.phpipam 0.2.0 .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - create, update and delete addresses .. Aliases .. Requirements .. _ansible_collections.codeaffen.phpipam.address_module_requirements: Requirements ------------ The below requirements are needed on the host that executes this module. - inflection - ipaddress - phpypam\>=1.0.0 .. Options Parameters ---------- .. tabularcolumns:: \X{1}{3}\X{2}{3} .. list-table:: :width: 100% :widths: auto :header-rows: 1 :class: longtable ansible-option-table * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-app_id: .. rst-class:: ansible-option-title **app_id** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
API app name .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"ansible"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-description: .. rst-class:: ansible-option-title **description** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Address description .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-device: .. rst-class:: ansible-option-title **device** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Device address belongs to .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-exclude_ping: .. rst-class:: ansible-option-title **exclude_ping** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Exclude this address from status update scans .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-hostname: .. rst-class:: ansible-option-title **hostname** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Address hostname .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-ignore_ptr: .. rst-class:: ansible-option-title **ignore_ptr** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Controls if PTR should not be created .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-address: .. _ansible_collections.codeaffen.phpipam.address_module__parameter-ip: .. _ansible_collections.codeaffen.phpipam.address_module__parameter-ipaddress: .. rst-class:: ansible-option-title **ipaddress** .. raw:: html .. ansible-option-type-line:: :ansible-option-aliases:`aliases: ip, address` :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
IP address to hanle .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-is_gateway: .. rst-class:: ansible-option-title **is_gateway** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Defines if address is presented as gateway .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-location: .. rst-class:: ansible-option-title **location** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Address location .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-mac: .. _ansible_collections.codeaffen.phpipam.address_module__parameter-mac_address: .. rst-class:: ansible-option-title **mac_address** .. raw:: html .. ansible-option-type-line:: :ansible-option-aliases:`aliases: mac` :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Mac address .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-note: .. rst-class:: ansible-option-title **note** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Note .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-owner: .. rst-class:: ansible-option-title **owner** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Address owner .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-password: .. rst-class:: ansible-option-title **password** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
Password of the user to access phpIPAM server .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-port: .. rst-class:: ansible-option-title **port** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Port .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-ptr: .. rst-class:: ansible-option-title **ptr** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
DNS PTR record .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-section: .. rst-class:: ansible-option-title **section** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` / :ansible-option-required:`required` :ansible-option-versionadded:`added in codeaffen.phpipam 1.3.1` .. raw:: html
- .. raw:: html
name of the section the given subnet belongs to .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-server_url: .. rst-class:: ansible-option-title **server_url** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
URL of the phpIPAM server .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-state: .. rst-class:: ansible-option-title **state** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
State of the entity .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`"present"` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`"absent"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-subnet: .. rst-class:: ansible-option-title **subnet** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
subnet address belongs to .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-tag: .. rst-class:: ansible-option-title **tag** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` .. raw:: html
- .. raw:: html
IP tag (online, offline, ...) .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-username: .. rst-class:: ansible-option-title **username** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
Username to access phpIPAM server .. raw:: html
* - .. raw:: html
.. _ansible_collections.codeaffen.phpipam.address_module__parameter-validate_certs: .. rst-class:: ansible-option-title **validate_certs** .. raw:: html .. ansible-option-type-line:: :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Is the TLS certificate of the phpIPAM server verified or not. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
.. Attributes .. Notes .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: "Reserve an IP address" codeaffen.phpipam.address: username: "admin" password: "s3cr3t" server_url: "https://ipam.example.com" address: "192.0.2.1" section: "Customers" description: "Default router of sunet" subnet: "192.0.2.0/24" is_gateway: yes state: present - name: "Remove address reservation" codeaffen.phpipam.address: username: "admin" password: "s3cr3t" server_url: "https://ipam.example.com" address: "192.0.2.1" subnet: "192.0.2.0/24" section: "Customers" state: absent .. Facts .. Return values .. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Christian Meißner (@cmeissner) .. Extra links Collection links ~~~~~~~~~~~~~~~~ .. ansible-links:: - title: "Issue Tracker" url: "https://github.com/codeaffen/phpipam-ansible-modules/issues" external: true - title: "Homepage" url: "https://codeaffen.org/projects/phpipam-ansible-modules" external: true - title: "Repository (Sources)" url: "https://github.com/codeaffen/phpipam-ansible-modules" external: true .. Parsing errors