{"id":18547345,"url":"https://github.com/engonzal/ansible_role_letsencrypt_do","last_synced_at":"2025-08-02T10:36:04.446Z","repository":{"id":117453811,"uuid":"210037373","full_name":"engonzal/ansible_role_letsencrypt_do","owner":"engonzal","description":"An Ansible role to create LetsEncrypt certificates using DigitalOcean dns","archived":false,"fork":false,"pushed_at":"2019-09-22T16:45:32.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T07:41:38.879Z","etag":null,"topics":["ansible","ansible-galaxy","certificate","digitalocean","galaxy","letsencrypt"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/engonzal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-21T18:48:21.000Z","updated_at":"2022-03-07T04:35:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcb376fb-ad02-4e1c-aa12-b13d5d45bac4","html_url":"https://github.com/engonzal/ansible_role_letsencrypt_do","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/engonzal/ansible_role_letsencrypt_do","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engonzal%2Fansible_role_letsencrypt_do","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engonzal%2Fansible_role_letsencrypt_do/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engonzal%2Fansible_role_letsencrypt_do/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engonzal%2Fansible_role_letsencrypt_do/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engonzal","download_url":"https://codeload.github.com/engonzal/ansible_role_letsencrypt_do/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engonzal%2Fansible_role_letsencrypt_do/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268372069,"owners_count":24239798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-galaxy","certificate","digitalocean","galaxy","letsencrypt"],"created_at":"2024-11-06T20:29:02.775Z","updated_at":"2025-08-02T10:36:04.417Z","avatar_url":"https://github.com/engonzal.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Roles: LetsEncrypt_DigitalOcean\n\nThis role can be used to generate certificates provided by LetsEncrypt using the DNS challenge method.  This role assumes that you have a domain, and you have it configured to use DigitalOcean nameservers.\n\n## Requirements\n\nOn the host you are running this from you will need the python cryptography libraries.\nExample for Ubuntu:  ```apt install python3-cryptography```\n\n## Role Variables\n\nA few variables need to be set in order to use this role.\n\n### Required Variables\n\nSet an email address to use with LetsEncrypt\n\n```yaml\nle_do_mailaddr: noe@example.com\n```\n\nSet the domain for which you would like to get a certificate (the generated one will be valid for a wildcard cert, ie \"*.engonzal.com\" and the base domain \"engonzal.com\")\n\n```yaml\nle_do_domain: example.com\n```\n\nYou will need to generate an oauth token via the DigitalOcean admin console\n\n```yaml\nle_do_token: \"\u003cyour-do-token-consider-using-ansible-vault\u003e\"\n```\n\n### Optional Variables\n\nYou can customize where the certificates are stored by setting the following (default is a data directory in your user home folder):\n\n```yaml\nle_do_dir_priv: \"~/data/acme\"\nle_do_dir_cert: \"~/data/certs\"\n```\n\nYou can also optionally upload your newely created certificate to DigitalOcean:\n\n```yaml\nle_do_upload: true\n```\n\n## Example Playbook\n\n```yaml\n- hosts: proxmox\n  user: engonzal\n  vars:\n    le_do_mailaddr: noe@example.com\n    le_do_domain: example.com\n    le_do_token: \"\u003cyour-do-token-consider-using-ansible-vault\u003e\"\n  roles:\n      - engonzal.letsencrypt_do\n```\n\n## License\n\nBSD\n\n## Author Information\n\nThis role was created on a saturday morning with a cup of coffee in 2019 by Noe Gonzalez (\u003chttp://engonzal.com\u003e and \u003chttps://buildahomelab.com\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengonzal%2Fansible_role_letsencrypt_do","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengonzal%2Fansible_role_letsencrypt_do","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengonzal%2Fansible_role_letsencrypt_do/lists"}