aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 58ba689e01b91f5f0c2abe4adcf84353feb0d08c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# certbot-dns-cloudflare

Wrapper of `geerlingguy.certbot` to generate certificates using DNS challenges and Cloudflare.

##### requirements.yml

```yaml
roles:
  - src: git+https://git.segundo.io/Ansible/certbot-dns-cloudflare
    name: certbot-dns-cloudflare
```

## Example playbook

```yaml
---
- hosts: foo
  roles:
    - role: certbot-dns-cloudflare
      vars:
        certbot_cloudflare_api_token: xxxxx
        certbot_admin_email: foo@bar
        certbot_certs:
          - domains:
              - "*.foo.bar"
              - "foo.bar"
```