ansible / ansible.builtin / v2.9.27 / module / iap_token Get token for the Itential Automation Platform | "added in version" 2.8 of ansible.builtin" Authors: Itential (@cma0) <opensource@itential.com> preview | supported by communityansible.builtin.iap_token (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
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