Skip to content

Failed to login using API token, please verify validity of API token #89

Description

Hello,

I run into an error while I try to run the digitalocean playbook. I followed all the instruction and the dotcli is able to create and remove depletes on DO, but the error is not very specific with the key issue.

Any help please?

[WARNING]: Collection amazon.aws does not support Ansible version 2.11.12

PLAY [Deploy Forem to DigitalOcean] ********************************************************************************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************************************************************************************
ok: [forem]

TASK [Check for doctl] *********************************************************************************************************************************************************************************************
changed: [forem]

TASK [Fail if doctl is not installed] ******************************************************************************************************************************************************************************
skipping: [forem]

TASK [Check doctl account get] *************************************************************************************************************************************************************************************
changed: [forem]

TASK [Fail if doctl account get fails] *****************************************************************************************************************************************************************************
skipping: [forem]

TASK [Include vars from doctl/config.yaml into the 'doctl_check' variable"] ****************************************************************************************************************************************
ok: [forem]

TASK [Set doctl facts] *********************************************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Fetch public WAN IPv4 address json] **************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Set local_wan_ip_address fact] *******************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Verify Ansible is >= 2.11.0] *********************************************************************************************************************************************************************
ok: [forem] => changed=false 
  msg: All assertions passed

TASK [preflight : Get list of installed Python 3 packages] *********************************************************************************************************************************************************
changed: [forem]

TASK [preflight : Read requirements.txt] ***************************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Generate list of missing pip prerequisites] ******************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Generate list of missing python packages] ********************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Verify that required Python 3 packages are installed] ********************************************************************************************************************************************
ok: [forem] => changed=false 
  msg: All assertions passed

TASK [Get FCOS facts] **********************************************************************************************************************************************************************************************

TASK [fcos : Get FCOS releases] ************************************************************************************************************************************************************************************
ok: [forem]

TASK [fcos : Set FCOS file download facts] *************************************************************************************************************************************************************************
ok: [forem]

TASK [Gather information about all images] *************************************************************************************************************************************************************************
fatal: [forem]: FAILED! => changed=false 
  msg: Failed to login using API token, please verify validity of API token.

PLAY RECAP *********************************************************************************************************************************************************************************************************
forem  ```

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions