cisco.ise.portal_theme – Resource module for Portal Theme

Note

This plugin is part of the cisco.ise collection (version 0.0.9).

To install it use: ansible-galaxy collection install cisco.ise.

To use it in a playbook, specify: cisco.ise.portal_theme.

New in version 1.0.0: of cisco.ise

Synopsis

  • Manage operations create, update and delete of the resource Portal Theme.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • ciscoisesdk

Parameters

Parameter Choices/Defaults Comments
id
string
Id path parameter.
name
string
Portal Theme's name.
themeData
string
Portal Theme's themeData.

See Also

See also

cisco.ise.plugins.module_utils.definitions.portal_theme

The official documentation on the cisco.ise.plugins.module_utils.definitions.portal_theme module.

Portal Theme reference

Complete reference of the Portal Theme object model.

Examples

- name: Create
  cisco.ise.portal_theme:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    name: New Theme
    themeData: Base64 encoded string of CSS file

- name: Update by id
  cisco.ise.portal_theme:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    id: 935e5e90-bd06-4cba-9465-e71c475bfe1d
    name: New Theme
    themeData: More Base64 encoded string of CSS file

- name: Delete by id
  cisco.ise.portal_theme:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: absent
    id: string

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
ise_response
dictionary
always
A dictionary or list with the response returned by the Cisco ISE Python SDK

Sample:
{}


Authors

  • Rafael Campos (@racampos)