Skip to content

24367dfa/ansible-role-dehydrated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Dehydrated

An Ansible Role that installs dehydrated.

Usage

Minimal configuration

vars:
  dehydrated_contact_email: ""
  dehydrated_domains:
    - name: "example.com"

roles:
  - role: dehydrated

Full example

vars:
  dehydrated_version: "v0.7.0"
  dehydrated_contact_email: ""
  dehydrated_location: "/usr/local/share/dehydrated"
  dehydrated_binary: "/usr/local/bin/dehydrated"
  dehydrated_config_dir: "/usr/local/etc/dehydrated"
  dehydrated_certs_dir: "{{ dehydrated_config_dir }}/certs"
  dehydrated_wellknown_dir: "{{ dehydrated_config_dir }}/challenge"
  dehydrated_force_update: True
  dehydrated_domains:
    - name: example.com
      alternate_names:
        - www.example.com
        - web.example.com
      deploy_challenge_hook: printf 'server 127.0.0.1\nupdate add _acme-challenge.%s 300 IN TXT "%s"\nsend\n' "${DOMAIN}" "${TOKEN_VALUE}" | nsupdate -k /var/run/named/session.key
      clean_challenge_hook: printf 'server 127.0.0.1\nupdate delete _acme-challenge.%s TXT "%s"\nsend\n' "${DOMAIN}" "${TOKEN_VALUE}" | nsupdate -k /var/run/named/session.key

roles:
  - role: dehydrated

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •