initial commit
This commit is contained in:
31
handlers/main.yml
Normal file
31
handlers/main.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
- name: acme_autoreconf
|
||||
shell: "autoreconf -i"
|
||||
args:
|
||||
chdir: "{{src_dir}}/acme-client-portable"
|
||||
notify: acme_configure
|
||||
|
||||
- name: acme_configure
|
||||
shell: "./configure"
|
||||
args:
|
||||
chdir: "{{src_dir}}/acme-client-portable"
|
||||
notify: acme_build
|
||||
|
||||
- name: acme_build
|
||||
make:
|
||||
chdir: "{{src_dir}}/acme-client-portable"
|
||||
target: "{{item}}"
|
||||
loop:
|
||||
- clean
|
||||
- all-am
|
||||
- install
|
||||
|
||||
- name: run renew script
|
||||
shell: "{{acme_renew_script_path}}/renew_certs"
|
||||
when: acme_renew_script
|
||||
listen: "renew certs"
|
||||
|
||||
- name: run acme-client
|
||||
shell: "acme-client {{item.domain}}"
|
||||
when: not acme_renew_script
|
||||
listen: "renew certs"
|
||||
loop: "{{acme_hosts}}"
|
||||
Reference in New Issue
Block a user