{"id":28126153,"url":"https://github.com/aboutbits/ansible-caddy","last_synced_at":"2026-04-24T16:02:34.259Z","repository":{"id":293127953,"uuid":"979927538","full_name":"aboutbits/ansible-caddy","owner":"aboutbits","description":"Ansible - Caddy Role","archived":false,"fork":false,"pushed_at":"2025-09-01T08:10:00.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T10:41:17.981Z","etag":null,"topics":["ansible","ansible-role","caddy","caddyserver"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/aboutbits.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,"zenodo":null}},"created_at":"2025-05-08T09:38:55.000Z","updated_at":"2025-09-01T08:10:04.000Z","dependencies_parsed_at":"2025-05-13T20:44:17.788Z","dependency_job_id":"2914e049-3637-4287-b4a1-216a8e947a38","html_url":"https://github.com/aboutbits/ansible-caddy","commit_stats":null,"previous_names":["aboutbits/ansible-caddy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aboutbits/ansible-caddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-caddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-caddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-caddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-caddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboutbits","download_url":"https://codeload.github.com/aboutbits/ansible-caddy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-caddy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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":["ansible","ansible-role","caddy","caddyserver"],"created_at":"2025-05-14T10:23:34.597Z","updated_at":"2026-04-24T16:02:34.255Z","avatar_url":"https://github.com/aboutbits.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Caddy Role\n==================\n\nInstall Caddy role.\n\n## Role Variables\n\n- `caddy_version`: The version of Caddy that should be installed. (Optional)\n- `caddy_packages`: The additional packages that should be included in the Caddy installation. (The packages can be found here: https://caddyserver.com/download)\n- `caddy_sites_reverse_proxy`: A list of sites, that should be configured as reverse proxy.\n- `caddy_sites_redirect`: A list of sites, that should be configured as redirects.\n- `caddy_sites_custom`: A list of sites, that should be configured completely custom.\n\n## Example Playbook\n\n```yaml\n- hosts: all\n  tasks:\n    - ansible.builtin.include_role:\n        name: ansible-caddy-installation\n      vars:\n        caddy_version: 2.9\n        caddy_packages:\n          - github.com/caddy-dns/digitalocean\n        caddy_sites_reverse_proxy:\n          - domain_name: \"test1.example.com\"\n            destination_url: https://example.com\n          - domain_name: \"test2.example.com\"\n            destination_url: https://example.com\n            compression: true\n            tls_insecure_skip_verify: true\n            headers_up:\n              - operation: +\n                field: Host\n                value: example.com\n            tls_dns:\n              provider: digitalocean\n              config: xxx\n        caddy_sites_redirect:\n          - domain_name: \"test1.example.com\"\n            destination_url: https://example.com\n            tls_dns:\n              provider: digitalocean\n              config: xxx\n          - domain_name: \"test2.example.com\"\n            destination_url: https://example.com\n            tls_certificate:\n              private_key: private-key-content\n              certificate: certificate-content\n          - domain_name: \"test2.example.com\"\n            destination_url: https://example.com\n            permanent: true\n```\n\n## Build \u0026 Publish\n\nTo build and publish the role, visit the GitHub Actions page of the repository and trigger the workflow \"Release Package\" manually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fansible-caddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboutbits%2Fansible-caddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fansible-caddy/lists"}