mirror of
https://github.com/inofix/common-playbooks.git
synced 2026-02-05 12:45:29 +01:00
Support for DNS-Challenge will be added by acme.sh, it will probably also replace the proxy mode in our old solution over time. This commit moves potential conflicts out of the way.
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
#* This playbook installs service restarter scripts for inofix.acme-*
|
|
#* Note: this playbook should be used either from the main install playbook
|
|
#* (which resolves its dependencies) or as a shorthand for an already set up
|
|
#* system, where the dependencies are already provided.
|
|
#* Use '-a' to pass parameters to ansible (as '-e'). See ansible fetch for
|
|
#* details.
|
|
#* The following arguments are mandatory:
|
|
#* - 'app__acme__domain'
|
|
|
|
|
|
# Restart the service
|
|
- hosts: app.acme,!app.acme.sh,&app.apache
|
|
become: True
|
|
roles:
|
|
- { role: inofix.acme-service, app__acme__service_name: 'apache' }
|
|
|
|
# Restart the service
|
|
- hosts: app.acme,!app.acme.sh,&app.dovecot
|
|
become: True
|
|
roles:
|
|
- { role: inofix.acme-service, app__acme__service_name: 'dovecot' }
|
|
|
|
# Restart the service
|
|
- hosts: app.acme,!app.acme.sh,&app.nginx
|
|
become: True
|
|
roles:
|
|
- { role: inofix.acme-service, app__acme__service_name: 'nginx' }
|
|
|
|
# Restart the service
|
|
- hosts: app.acme,!app.acme.sh,&app.postfix
|
|
become: True
|
|
roles:
|
|
- { role: inofix.acme-service, app__acme__service_name: 'postfix' }
|
|
|
|
# Restart the service
|
|
- hosts: app.acme,!app.acme.sh,&app.prosody
|
|
become: True
|
|
roles:
|
|
- { role: inofix.acme-service, app__acme__service_name: 'prosody' }
|
|
|
|
|