52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
---
|
|
# defaults file for haproxy
|
|
|
|
# Where to create dhparams file
|
|
haproxy_dhparams_path: /etc/haproxy/dhparams.pem
|
|
|
|
# Where to store certificates
|
|
haproxy_certs_path: /etc/haproxy/certs
|
|
|
|
# Where to get error files
|
|
haproxy_errorfiles_src: ./files/error_files
|
|
|
|
# Where to store error files
|
|
haproxy_errorfiles_dst: /etc/haproxy/errors
|
|
|
|
# Manage certificates with acme.sh script
|
|
haproxy_acmesh: []
|
|
# - name: Generate wildcard for ykn.fr
|
|
# command:
|
|
# - acme.sh
|
|
# - --issue
|
|
# - --domain
|
|
# - ykn.fr
|
|
# - --domain
|
|
# - "*.ykn.fr"
|
|
# - --dns
|
|
# - dns_ovh
|
|
# - --server
|
|
# - letsencrypt
|
|
# must_present: /root/.acme.sh/ykn.fr_ecc/fullchain.cer
|
|
# env:
|
|
# OVH_END_POINT: "{{ lookup('ansible.builtin.env', 'OVH_END_POINT') }}"
|
|
# OVH_AK: "{{ lookup('ansible.builtin.env', 'OVH_AK') }}"
|
|
# OVH_AS: "{{ lookup('ansible.builtin.env', 'OVH_AS') }}"
|
|
# OVH_CK: "{{ lookup('ansible.builtin.env', 'OVH_CK') }}"
|
|
# - name: Deploy wildcard for ykn.fr
|
|
# command:
|
|
# - acme.sh
|
|
# - --deploy
|
|
# - --domain
|
|
# - ykn.fr
|
|
# - --domain
|
|
# - "*.ykn.fr"
|
|
# - --deploy-hook
|
|
# - haproxy
|
|
# must_present: /etc/haproxy/certs/ykn.fr.pem
|
|
# must_absent: /etc/haproxy/haproxy.cfg
|
|
# env:
|
|
# DEPLOY_HAPROXY_HOT_UPDATE: "yes"
|
|
# DEPLOY_HAPROXY_STATS_SOCKET: /var/run/haproxy/admin.sock
|
|
# DEPLOY_HAPROXY_PEM_PATH: "{{ haproxy_certs_path }}"
|