PyratLabs / ansible-role-k3s

Ansible role for installing k3s as either a standalone server or HA cluster.
BSD 3-Clause "New" or "Revised" License
640 stars 135 forks source link

Releases are not being publish to ansible galaxy #218

Closed onedr0p closed 11 months ago

onedr0p commented 12 months ago

Summary

Looks like Ansible Galaxy workflow is failing:

  ansible-galaxy role import --api-key *** $(echo PyratLabs/ansible-role-k3s | cut -d/ -f1) $(echo PyratLabs/ansible-role-k3s | cut -d/ -f[2](https://github.com/PyratLabs/ansible-role-k3s/actions/runs/7151644554/job/19476168044#step:5:2))
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/PyratLabs/ansible-role-k3s/actions/runs/7151644554/job/19476168044#step:5:3).12.0/x6[4](https://github.com/PyratLabs/ansible-role-k3s/actions/runs/7151644554/job/19476168044#step:5:4)
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.0/x[6](https://github.com/PyratLabs/ansible-role-k3s/actions/runs/7151644554/job/19476168044#step:5:6)4/lib
ERROR! Error when finding available api versions from default (https://galaxy.ansible.com/) (HTTP Code: 403, Message: Forbidden)
Error: Process completed with exit code 1.

For now people can install this role via requirements.yaml:

roles:
  - name: xanmanning.k3s
    src: https://github.com/PyratLabs/ansible-role-k3s
    version: v3.4.3
dbrennand commented 11 months ago

This is due to the recent Ansible Galaxy changes. This will require @xanmanning to generate a new API token for Galaxy to resolve.

onedr0p commented 11 months ago

If we could get a moment of his time that would be great, it's not a huge show stopper though.

xanmanning commented 11 months ago

Hey, sorry - insanely busy (work, family, etc). Sorted API key now: https://github.com/PyratLabs/ansible-role-k3s/actions/runs/7151644554/job/19679894219