Skip to content

ansible.platform.token: existing tokens url bug #128

Description

@l3acon

Bug Summary

I am running this with 2.6 and a minmal playbook and ansible.platform 2.6.20251106 (also tested with devel from this repo)

---
- hosts: localhost
  gather_facts: false
  tasks:
    - name: Authenticate with AAP and obtain token
      ansible.platform.token:
      register: __aap_token

    - name: Revoke authentication token
      ansible.platform.token:
        existing_token: "{{ __aap_token }}"
        state: absent

returns

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to process delete of item due to missing data 'url'"}

I will also submit PR for fix shortly

Select the relevant components

  • Proxy
  • API
  • Other

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