Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 2.16 KB

profile_info.md

File metadata and controls

56 lines (45 loc) · 2.16 KB

profile_info

Get info about a Linode Profile.

Minimum Required Fields

Field Type Required Description
api_token str Required The Linode account personal access token. It is necessary to run the module.
It can be exposed by the environment variable LINODE_API_TOKEN instead.
See details in Usage.

Examples

- name: Get info about the current Linode profile
  linode.cloud.profile_info: {}

Return Values

  • profile - The profile info in JSON serialized form.

    • Sample Response:
      {
        "authentication_type": "password",
        "authorized_keys": [
          null
        ],
        "email": "[email protected]",
        "email_notifications": true,
        "ip_whitelist_enabled": false,
        "lish_auth_method": "keys_only",
        "referrals": {
          "code": "871be32f49c1411b14f29f618aaf0c14637fb8d3",
          "completed": 0,
          "credit": 0,
          "pending": 0,
          "total": 0,
          "url": "https://www.linode.com/?r=871be32f49c1411b14f29f618aaf0c14637fb8d3"
        },
        "restricted": false,
        "timezone": "US/Eastern",
        "two_factor_auth": true,
        "uid": 1234,
        "username": "exampleUser",
        "verified_phone_number": "+5555555555"
      }
    • See the Linode API response documentation for a list of returned fields