From 98deb6b468c52d09c69c699b02ab16791f557beb Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Thu, 21 Dec 2023 18:08:22 +0000 Subject: Enable certbot for certificates renewal --- roles/web/tasks/nginx.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/web/tasks/nginx.yml') diff --git a/roles/web/tasks/nginx.yml b/roles/web/tasks/nginx.yml index 108bb61..43f7058 100644 --- a/roles/web/tasks/nginx.yml +++ b/roles/web/tasks/nginx.yml @@ -4,7 +4,7 @@ - nginx state: present -- name: Enable nginx systemd unit +- name: Enable nginx systemd service ansible.builtin.service: name: nginx enabled: yes @@ -23,7 +23,7 @@ - name: Configure nginx ansible.builtin.copy: - src: roles/web/files/nginx.conf + src: roles/web/files/nginx/nginx.conf dest: /etc/nginx/nginx.conf owner: root group: root @@ -33,7 +33,7 @@ - name: Configure nginx logrotate ansible.builtin.copy: - src: roles/web/files/nginx + src: roles/web/files/nginx/nginx.logrotate dest: /etc/logrotate.d/nginx owner: root group: root -- cgit v1.2.3-70-g09d2