equinix-labs / ansible-collection-equinix

Ansible content to help automate the management of Equinix resources
https://deploy.equinix.com/labs/ansible-collection-equinix/
GNU General Public License v3.0
2 stars 8 forks source link

metal_project_ssh_key #65

Closed t0mk closed 11 months ago

t0mk commented 1 year ago

Create module for metal_project_ssh_key.

Analogical to resource equinix_metal_project_ssh_key in terraform-provider-equinix:

Module should

See the newest added module to get an idea how to do implement this.

t0mk commented 1 year ago

This should be an Ansible interface to https://github.com/equinix-labs/metal-python/blob/main/equinix_metal/equinix_metal/api/ssh_keys_api.py

..using methods that match *project_ssh_key$

It's very analogical to metal_ssh_key, the difference is that ssh_key is owned by user, and project_key_key is owned by a project. There's a PR for metal_ssh_key support. This should be very similar, just you'd need a project for testing. https://github.com/equinix-labs/ansible-collection-equinix/pull/94 .. see the diff.

There is some development documentation at https://github.com/equinix-labs/ansible-collection-equinix/blob/development.md/DEVELOPMENT.md

t0mk commented 11 months ago

closed by #107