{"id":15691205,"url":"https://github.com/deiga/ansible-role-letsencrypt","last_synced_at":"2026-01-08T10:06:42.973Z","repository":{"id":136543476,"uuid":"90629308","full_name":"deiga/ansible-role-letsencrypt","owner":"deiga","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T05:46:26.000Z","size":12,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T14:14:03.842Z","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/deiga.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":"2017-05-08T13:09:05.000Z","updated_at":"2017-05-08T13:09:05.000Z","dependencies_parsed_at":"2024-10-23T23:06:59.151Z","dependency_job_id":"a71415dd-81b9-44f7-9530-3b7fdc695156","html_url":"https://github.com/deiga/ansible-role-letsencrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiga%2Fansible-role-letsencrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiga%2Fansible-role-letsencrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiga%2Fansible-role-letsencrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiga%2Fansible-role-letsencrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deiga","download_url":"https://codeload.github.com/deiga/ansible-role-letsencrypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246315105,"owners_count":20757615,"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","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-10-03T18:20:42.389Z","updated_at":"2026-01-08T10:06:42.935Z","avatar_url":"https://github.com/deiga.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Role Name\n=========\n\nThis role is supposed to get Let's Encrypt certificates for listed domains (using the [ansible letsencrypt module](https://docs.ansible.com/ansible/letsencrypt_module.html)) \n\nRequirements\n------------\n\nAs a pre-requisite you need to have installed nginx or some other webserver\n\nRole Variables\n--------------\n\nA description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.\n\n```\nletsencrypt_domains: []\n\nletsencrypt_cert_base_path: /etc/pki/cert\nletsencrypt_certificate_path: /etc/nginx/ssl\nletsencrypt_challenge_public_path: /var/www/html/\n\nletsencrypt_account_key_path: '{{ letsencrypt_cert_base_path }}/private/account.key'\nletsencrypt_domain_csr_path: '{{ letsencrypt_cert_base_path }}/{{ letsencrypt_domains[0] }}.csr'\nletsencrypt_valid_certificate_path: '{{ letsencrypt_cert_base_path }}/{{ letsencrypt_domains[0] }}.crt'\n\n# Final generated private key and certificate.\nletsencrypt_domain_key_path: '{{ letsencrypt_certificate_path }}/{{ letsencrypt_domains[0] }}.key'\nletsencrypt_chained_pem_path: '{{ letsencrypt_certificate_path }}/{{ letsencrypt_domains[0] }}.pem'\n\n# For production, set this to:\n#   letsencrypt_default_ca: 'https://acme-v01.api.letsencrypt.org'\nletsencrypt_default_ca: 'https://acme-staging.api.letsencrypt.org'\n\n# How often should we try to renew certificates? Default is once per month.\nletsencrypt_cron_renew: ['0', '0', '*/3', '*', '*']\n\n```\n\nDependencies\n------------\n\n[geerlingguy.certbot](https://github.com/geerlingguy/ansible-role-certbot) for adding cronjob to renew certs\n\n\u003c!-- Example Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n    - hosts: servers\n      roles:\n         - { role: username.rolename, x: 42 } --\u003e\n\nLicense\n-------\n\nBSD, MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeiga%2Fansible-role-letsencrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeiga%2Fansible-role-letsencrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeiga%2Fansible-role-letsencrypt/lists"}