Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Droplet image_id for CentOS #599

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SethFranklin
Copy link

Hi Jeff,

This PR changes the Droplet image_id value from the CentOS 7 id centos-7-x64 to the CentOS stream 9 id centos-stream-9-x64. This is because the older id/slug for CentOS 7 doesn't work on DigitalOcean anymore, and gives me the error below.

PLAY [localhost] ***************************************************************

TASK [Create new Droplet.] *****************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to create Droplet [HTTP 422: You specified an invalid image for Droplet creation.]"}

PLAY RECAP *********************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

I found a neat web tool that lists all of the valid DigitalOcean API slugs: DigitalOcean API Slugs

Thanks,
Seth

@geerlingguy
Copy link
Owner

Thanks! I will try to take a look at this and re-test again soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants