From 9dd199d6349a7f521d98a7de4ef680a5f782e1c9 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 22 Sep 2019 10:26:07 +0800 Subject: web: Remove obsolete 'acme-client' related code --- roles/web/tasks/acme-domainkey.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 roles/web/tasks/acme-domainkey.yml (limited to 'roles/web/tasks') diff --git a/roles/web/tasks/acme-domainkey.yml b/roles/web/tasks/acme-domainkey.yml deleted file mode 100644 index ac409c2..0000000 --- a/roles/web/tasks/acme-domainkey.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: (local) acme - check domain private key existence - become: false - stat: - path: "{{ playbook_dir }}/private/acme/{{ domain }}.pem" - delegate_to: localhost - register: stat_result - -- name: (local) acme - generate domain private key (4096 bit) - become: false - command: > - openssl genrsa - -out "{{ playbook_dir }}/private/acme/{{ domain }}.pem" 4096 - delegate_to: localhost - when: not stat_result.stat.exists - -- name: acme - copy domain private key - copy: - src: "{{ playbook_dir }}/private/acme/{{ domain }}.pem" - dest: /usr/local/etc/ssl/acme/private/{{ domain }}.pem - mode: 0400 -- cgit v1.2.2