diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2023-12-21 18:08:22 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2023-12-21 18:08:22 +0000 |
commit | 98deb6b468c52d09c69c699b02ab16791f557beb (patch) | |
tree | 3dd114dfd79a81f577c0ffa93e8bf3bd06d70759 /roles/web/tasks/nginx.yml | |
parent | 1fe154b136bce2fb063e39050d9bc0deb2279bb0 (diff) | |
download | infra-98deb6b468c52d09c69c699b02ab16791f557beb.tar.gz infra-98deb6b468c52d09c69c699b02ab16791f557beb.tar.bz2 infra-98deb6b468c52d09c69c699b02ab16791f557beb.zip |
Enable certbot for certificates renewal
Diffstat (limited to 'roles/web/tasks/nginx.yml')
-rw-r--r-- | roles/web/tasks/nginx.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |