community / community.general / 0.1.1 / module / iap_token Get token for the Itential Automation Platform Authors: Itential (@cma0) <opensource@itential.com> preview | supported by communitycommunity.general.iap_token (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Checks the connection to IAP and retrieves a login token.
- name: Get token for the Itential Automation Platform iap_token: iap_port: 3000 iap_fqdn: localhost username: myusername password: mypass register: result
- debug: var=result.token
https: default: false description: - Use HTTPS to connect - By default using http type: bool iap_fqdn: default: null description: - Provide the fqdn or ip-address for the Itential Automation Platform required: true iap_port: default: null description: - Provide the port number for the Itential Automation Platform required: true password: default: null description: - Provide the password for the Itential Automation Platform required: true username: default: null description: - Provide the username for the Itential Automation Platform required: true validate_certs: default: false description: - If C(no), SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates. type: bool
token: description: The token acquired from the Itential Automation Platform returned: always type: str