.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. role:: ansible-attribute-support-label .. role:: ansible-attribute-support-property .. role:: ansible-attribute-support-full .. role:: ansible-attribute-support-partial .. role:: ansible-attribute-support-none .. role:: ansible-attribute-support-na .. role:: ansible-option-type .. role:: ansible-option-elements .. role:: ansible-option-required .. role:: ansible-option-versionadded .. role:: ansible-option-aliases .. role:: ansible-option-choices .. role:: ansible-option-choices-entry .. role:: ansible-option-default .. role:: ansible-option-default-bold .. role:: ansible-option-configuration .. role:: ansible-option-returned-bold .. role:: ansible-option-sample-bold .. Anchors .. _ansible_collections.cisco.ise.guest_user_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.ise.guest_user -- Resource module for Guest User ++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `cisco.ise collection `_ (version 2.2.0). You might already have this collection installed if you are using the ``ansible`` package. 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 cisco.ise`. To use it in a playbook, specify: :code:`cisco.ise.guest_user`. .. version_added .. versionadded:: 1.0.0 of cisco.ise .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Manage operations create, update and delete of the resource Guest User. - This API creates a guest user. - This API deletes a guest user by ID. - This API deletes a guest user. .. note:: This module has a corresponding :ref:`action plugin `. .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the host that executes this module. - ciscoisesdk >= 1.4.0 - python >= 3.5 .. Options Parameters ---------- .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-customFields: .. rst-class:: ansible-option-title **customFields** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
Key value map. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-description: .. rst-class:: ansible-option-title **description** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's description. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo: .. rst-class:: ansible-option-title **guestAccessInfo** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
Guest User's guestAccessInfo. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo/fromDate: .. rst-class:: ansible-option-title **fromDate** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's fromDate. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo/groupTag: .. rst-class:: ansible-option-title **groupTag** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's groupTag. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo/location: .. rst-class:: ansible-option-title **location** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's location. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo/ssid: .. rst-class:: ansible-option-title **ssid** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's ssid. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo/toDate: .. rst-class:: ansible-option-title **toDate** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's toDate. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestAccessInfo/validDays: .. rst-class:: ansible-option-title **validDays** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Guest User's validDays. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo: .. rst-class:: ansible-option-title **guestInfo** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
Guest User's guestInfo. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/company: .. rst-class:: ansible-option-title **company** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's company. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/creationTime: .. rst-class:: ansible-option-title **creationTime** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's creationTime. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/emailAddress: .. rst-class:: ansible-option-title **emailAddress** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's emailAddress. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/enabled: .. rst-class:: ansible-option-title **enabled** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
This field is only for Get operation not applicable for Create, Update operations. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`no` - :ansible-option-choices-entry:`yes` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/firstName: .. rst-class:: ansible-option-title **firstName** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's firstName. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/lastName: .. rst-class:: ansible-option-title **lastName** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's lastName. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/notificationLanguage: .. rst-class:: ansible-option-title **notificationLanguage** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's notificationLanguage. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/password: .. rst-class:: ansible-option-title **password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's password. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/phoneNumber: .. rst-class:: ansible-option-title **phoneNumber** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Phone number should be E.164 format. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/smsServiceProvider: .. rst-class:: ansible-option-title **smsServiceProvider** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's smsServiceProvider. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestInfo/userName: .. rst-class:: ansible-option-title **userName** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
If account needs be created with mobile number, please provide mobile number here. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-guestType: .. rst-class:: ansible-option-title **guestType** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's guestType. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-id: .. rst-class:: ansible-option-title **id** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's id. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_debug: .. rst-class:: ansible-option-title **ise_debug** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag for Identity Services Engine SDK to enable debugging. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-default-bold:`no` :ansible-option-default:`← (default)` - :ansible-option-choices-entry:`yes` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_hostname: .. rst-class:: ansible-option-title **ise_hostname** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
The Identity Services Engine hostname. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_password: .. rst-class:: ansible-option-title **ise_password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
The Identity Services Engine password to authenticate. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_username: .. rst-class:: ansible-option-title **ise_username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
The Identity Services Engine username to authenticate. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_uses_api_gateway: .. rst-class:: ansible-option-title **ise_uses_api_gateway** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` :ansible-option-versionadded:`added in 1.1.0 of cisco.ise` .. raw:: html
- .. raw:: html
Flag that informs the SDK whether to use the Identity Services Engine's API Gateway to send requests. If it is true, it uses the ISE's API Gateway and sends requests to https://{{ise_hostname}}. If it is false, it sends the requests to https://{{ise_hostname}}:{{port}}, where the port value depends on the Service used (ERS, Mnt, UI, PxGrid). .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`no` - :ansible-option-default-bold:`yes` :ansible-option-default:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_verify: .. rst-class:: ansible-option-title **ise_verify** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag to enable or disable SSL certificate verification. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`no` - :ansible-option-default-bold:`yes` :ansible-option-default:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_version: .. rst-class:: ansible-option-title **ise_version** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Informs the SDK which version of Identity Services Engine to use. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"3.1.1"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-ise_wait_on_rate_limit: .. rst-class:: ansible-option-title **ise_wait_on_rate_limit** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag for Identity Services Engine SDK to enable automatic rate-limit handling. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`no` - :ansible-option-default-bold:`yes` :ansible-option-default:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-name: .. rst-class:: ansible-option-title **name** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's name. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-portalId: .. rst-class:: ansible-option-title **portalId** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's portalId. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-reasonForVisit: .. rst-class:: ansible-option-title **reasonForVisit** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's reasonForVisit. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-sponsorUserId: .. rst-class:: ansible-option-title **sponsorUserId** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's sponsorUserId. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-sponsorUserName: .. rst-class:: ansible-option-title **sponsorUserName** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's sponsorUserName. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-status: .. rst-class:: ansible-option-title **status** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's status. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__parameter-statusReason: .. rst-class:: ansible-option-title **statusReason** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Guest User's statusReason. .. raw:: html
.. Attributes .. Notes Notes ----- .. note:: - SDK Method used are guest_user.GuestUser.create_guest_user, guest_user.GuestUser.delete_guest_user_by_id, guest_user.GuestUser.delete_guest_user_by_name, guest_user.GuestUser.update_guest_user_by_id, guest_user.GuestUser.update_guest_user_by_name, - Paths used are post /ers/config/guestuser, delete /ers/config/guestuser/name/{name}, delete /ers/config/guestuser/{id}, - Does not support \ :literal:`check\_mode`\ - The plugin runs on the control node and does not use any ansible connection plugins, but instead the embedded connection manager from Cisco ISE SDK - The parameters starting with ise_ are used by the Cisco ISE Python SDK to establish the connection .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja - name: Update by name cisco.ise.guest_user: ise_hostname: "{{ise_hostname}}" ise_username: "{{ise_username}}" ise_password: "{{ise_password}}" ise_verify: "{{ise_verify}}" state: present customFields: {} description: string guestAccessInfo: fromDate: string groupTag: string location: string ssid: string toDate: string validDays: 0 guestInfo: company: string creationTime: string emailAddress: string enabled: true firstName: string lastName: string notificationLanguage: string password: string phoneNumber: string smsServiceProvider: string userName: string guestType: string id: string name: string portalId: string reasonForVisit: string sponsorUserId: string sponsorUserName: string status: string statusReason: string - name: Delete by name cisco.ise.guest_user: ise_hostname: "{{ise_hostname}}" ise_username: "{{ise_username}}" ise_password: "{{ise_password}}" ise_verify: "{{ise_verify}}" state: absent name: string - name: Update by id cisco.ise.guest_user: ise_hostname: "{{ise_hostname}}" ise_username: "{{ise_username}}" ise_password: "{{ise_password}}" ise_verify: "{{ise_verify}}" state: present customFields: {} description: string guestAccessInfo: fromDate: string groupTag: string location: string ssid: string toDate: string validDays: 0 guestInfo: company: string creationTime: string emailAddress: string enabled: true firstName: string lastName: string notificationLanguage: string password: string phoneNumber: string smsServiceProvider: string userName: string guestType: string id: string name: string portalId: string reasonForVisit: string sponsorUserId: string sponsorUserName: string status: string statusReason: string - name: Delete by id cisco.ise.guest_user: ise_hostname: "{{ise_hostname}}" ise_username: "{{ise_username}}" ise_password: "{{ise_password}}" ise_verify: "{{ise_verify}}" state: absent id: string - name: Create cisco.ise.guest_user: ise_hostname: "{{ise_hostname}}" ise_username: "{{ise_username}}" ise_password: "{{ise_password}}" ise_verify: "{{ise_verify}}" state: present customFields: {} description: string guestAccessInfo: fromDate: string groupTag: string location: string ssid: string toDate: string validDays: 0 guestInfo: company: string creationTime: string emailAddress: string enabled: true firstName: string lastName: string notificationLanguage: string password: string phoneNumber: string smsServiceProvider: string userName: string guestType: string name: string portalId: string reasonForVisit: string sponsorUserId: string sponsorUserName: string status: string statusReason: string .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Key - Description * - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__return-ise_response: .. rst-class:: ansible-option-title **ise_response** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A dictionary or list with the response returned by the Cisco ISE Python SDK .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` "{\\n \\"id\\": \\"string\\",\\n \\"name\\": \\"string\\",\\n \\"description\\": \\"string\\",\\n \\"guestType\\": \\"string\\",\\n \\"status\\": \\"string\\",\\n \\"statusReason\\": \\"string\\",\\n \\"reasonForVisit\\": \\"string\\",\\n \\"sponsorUserId\\": \\"string\\",\\n \\"sponsorUserName\\": \\"string\\",\\n \\"guestInfo\\": {\\n \\"firstName\\": \\"string\\",\\n \\"lastName\\": \\"string\\",\\n \\"company\\": \\"string\\",\\n \\"creationTime\\": \\"string\\",\\n \\"notificationLanguage\\": \\"string\\",\\n \\"userName\\": \\"string\\",\\n \\"emailAddress\\": \\"string\\",\\n \\"phoneNumber\\": \\"string\\",\\n \\"password\\": \\"string\\",\\n \\"enabled\\": true,\\n \\"smsServiceProvider\\": \\"string\\"\\n },\\n \\"guestAccessInfo\\": {\\n \\"validDays\\": 0,\\n \\"fromDate\\": \\"string\\",\\n \\"toDate\\": \\"string\\",\\n \\"location\\": \\"string\\",\\n \\"ssid\\": \\"string\\",\\n \\"groupTag\\": \\"string\\"\\n },\\n \\"portalId\\": \\"string\\",\\n \\"customFields\\": {},\\n \\"link\\": {\\n \\"rel\\": \\"string\\",\\n \\"href\\": \\"string\\",\\n \\"type\\": \\"string\\"\\n }\\n}\\n" .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.ise.guest_user_module__return-ise_update_response: .. rst-class:: ansible-option-title **ise_update_response** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` :ansible-option-versionadded:`added in 1.1.0 of cisco.ise` .. raw:: html
- .. raw:: html
A dictionary or list with the response returned by the Cisco ISE Python SDK .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` "{\\n \\"UpdatedFieldsList\\": {\\n \\"updatedField\\": [\\n {\\n \\"field\\": \\"string\\",\\n \\"oldValue\\": \\"string\\",\\n \\"newValue\\": \\"string\\"\\n }\\n ],\\n \\"field\\": \\"string\\",\\n \\"oldValue\\": \\"string\\",\\n \\"newValue\\": \\"string\\"\\n }\\n}\\n" .. raw:: html
.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Rafael Campos (@racampos) .. Parsing errors