pureport / pureport.pureport / 0.0.9 / module / access_token_info Retrieve an access token to use with the Pureport API | "added in version" 2.8 of pureport.pureport" Authors: Matt Traynham (@mtraynham) preview | supported by Pureportpureport.pureport.access_token_info (0.0.9) — module
Install with ansible-galaxy collection install pureport.pureport:==0.0.9
collections: - name: pureport.pureport version: 0.0.9
Retrieve an access token to use with the Pureport API
- name: Retrieve the access token for an api key and secret access_token_info: api_key: XXXXXXXXXXXXX api_secret: XXXXXXXXXXXXXXXXX register: result # Registers result.access_token
- name: Set the access token as a fact set_fact: access_token: result.access_token
api_key: description: - The pre-configured API Key for a Pureport Account. required: true type: str api_secret: description: - The pre-configured API Secret for a Pureport Account. required: true type: str api_base_url: description: - The host url for the Pureport API. required: false type: str
access_token: description: - An access token that can be used with other Pureport facts. returned: success type: str