New in version 1.6.
DigitalOcean api key.
DigitalOcean manager id.
Numeric, the SSH key id you want to operate on.
String, this is the name of an SSH key to create or destroy.
The public SSH key you want to add to your account.
Indicate desired state of the target.
# Ensure a SSH key is present # If a key matches this name, will return the ssh key id and changed = False # If no existing key matches this name, a new key is created, the ssh key id is returned and changed = False - digital_ocean_sshkey: state: present name: my_ssh_key ssh_pub_key: 'ssh-rsa AAAA...' client_id: XXX api_key: XXX
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.