Spec-Zone.ru › Ansible 2.10

community.network.iap_token – Get token for the Itential Automation Platform

Note

This plugin is part of the community.network collection (version 1.3.0).

To install it use: ansible-galaxy collection install community.network.

To use it in a playbook, specify: community.network.iap_token.

  • Synopsis
  • Parameters
  • Examples
  • Return Values

Synopsis

  • Checks the connection to IAP and retrieves a login token.

Parameters

Parameter Choices/Defaults Comments
https
boolean
    Choices:
  • no ←
  • yes
Use HTTPS to connect
By default using http
iap_fqdn
string / required
Provide the fqdn or ip-address for the Itential Automation Platform
iap_port
string / required
Provide the port number for the Itential Automation Platform
password
string / required
Provide the password for the Itential Automation Platform
username
string / required
Provide the username for the Itential Automation Platform
validate_certs
boolean
    Choices:
  • no ←
  • yes
If no, SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates.

Examples

- name: Get token for the Itential Automation Platform
  community.network.iap_token:
    iap_port: 3000
    iap_fqdn: localhost
    username: myusername
    password: mypass
  register: result

- ansible.builtin.debug: var=result.token

Return Values

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

Key Returned Description
token
string
always
The token acquired from the Itential Automation Platform



Authors

  • Itential (@cma0) <opensource@itential.com>

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/iap_token_module.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API