{"id":20520924,"url":"https://github.com/ryanreece/ansible-role-certbot","last_synced_at":"2026-03-06T22:31:00.306Z","repository":{"id":225730063,"uuid":"766691169","full_name":"ryanreece/ansible-role-certbot","owner":"ryanreece","description":"Ansible role for requesting SSL certificates from Let's Encrypt via Docker","archived":false,"fork":false,"pushed_at":"2024-03-04T04:36:13.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T00:26:01.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanreece.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-03-03T23:38:19.000Z","updated_at":"2024-03-03T23:58:39.000Z","dependencies_parsed_at":"2024-03-04T01:25:48.376Z","dependency_job_id":"e11581d6-0156-40c8-b74a-823507841a14","html_url":"https://github.com/ryanreece/ansible-role-certbot","commit_stats":null,"previous_names":["ryanreece/ansible-role-certbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanreece/ansible-role-certbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanreece%2Fansible-role-certbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanreece%2Fansible-role-certbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanreece%2Fansible-role-certbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanreece%2Fansible-role-certbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanreece","download_url":"https://codeload.github.com/ryanreece/ansible-role-certbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanreece%2Fansible-role-certbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30200969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-15T22:24:39.834Z","updated_at":"2026-03-06T22:31:00.275Z","avatar_url":"https://github.com/ryanreece.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role Certbot\n\nThis Ansible role requests SSL certificates from Let's Encrypt using Docker and the Certbot Docker image, specifically for domains managed via DigitalOcean's DNS. The role will request a certificate for the apex domain name as well as the wildcard (`*.example.com`) domain name.\n\n## Requirements\n\n- Ansible 2.12 or newer.\n- Docker installed on the target host.\n- Access to a DigitalOcean account with API access for DNS verification.\n\n## Role Variables\n\n| Variable                    | Description                                        | Default                         |\n|-----------------------------|----------------------------------------------------|---------------------------------|\n| `letsencrypt_email`         | Email address used for Let's Encrypt registration. | `default_email@domain.com`      |\n| `digitalocean_secrets_file` | Path to the DigitalOcean secrets file.             | `/path/to/default/secrets.ini`  |\n| `domain_name`               | Domain name for the SSL certificate.               | `example.com`                   |\n| `docker_certbot_proxy_container`    | Name of the proxy Docker container used to copy certificates from the cert volume to the host.. | `certbot-proxy-container`       |\n| `docker_certbot_container` | Name of the Docker container handling the Let's Encrypt certbot process | `certbot` |\n| `docker_certs_volume` | Name of the Docker volume which will contain the SSL certificates | `certs` |\n| `ssl_certs_hosts_location`  | Host machine location where certs will be saved.   | `/tmp/`                         |\n| `force_cert_copy`           | Determines whether to copy the certs to the host regardless if the certs are eligible for renewal | `False` |\n\n## Example Playbook\n\nIncluding an example of how to use your role in a playbook:\n\n```yaml\n- hosts: servers\n  roles:\n    - role: ansible_role_certbot\n      vars:\n        letsencrypt_email: name@example.com\n        digitalocean_secrets_file: ~/.secrets/certbot/digitalocean.ini\n        domain_name: example.com\n        docker_certbot_proxy_container: docker-certbot-proxy-container\n        docker_certbot_container: certbot\n        docker_certs_volume: certs\n        ssl_certs_hosts_location: /tmp/\n        force_cert_copy: True\n```\n\n### requirements.yml\n\n```yaml\n# requirements.yml\nroles:\n  - name: ansible_role_certbot\n    src: https://github.com/ryanreece/ansible-role-certbot.git\n    version: main\n    scm: git\n```\n\n## To Do\n- [ ] Add support for AWS Route53 managed domains\n- [ ] Make releases for role versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanreece%2Fansible-role-certbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanreece%2Fansible-role-certbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanreece%2Fansible-role-certbot/lists"}