certbot-dns-cloudflare/tasks/main.yaml
changeset 133 effd8e58a796
child 174 431c6d5e5dd4
equal deleted inserted replaced
132:10996eb41bf4 133:effd8e58a796
       
     1 ---
       
     2 
       
     3 - name: apt install dns cloudflare
       
     4   become: yes
       
     5   apt: name="python3-certbot-dns-cloudflare"
       
     6 
       
     7 - name: configure cloudflare credentials
       
     8   become: yes
       
     9   template:
       
    10     src: "cred.conf.j2"
       
    11     dest: "/etc/letsencrypt/cred.conf"
       
    12     mode: "0600"
       
    13     owner: "root"
       
    14     group: "root"
       
    15 
       
    16 - name: configure renewal
       
    17   become: yes
       
    18   template:
       
    19     src: "{{certbot_dns_cloudflare_conf}}"
       
    20     dest: "/etc/letsencrypt/renewal/{{certbot_dns_cloudflare_domain}}.conf"
       
    21     mode: "0644"
       
    22     owner: "root"
       
    23     group: "root"