diff --git a/nitter-nginx/tasks/main.yml b/nitter-nginx/tasks/main.yml index 0765a42..98c1b36 100644 --- a/nitter-nginx/tasks/main.yml +++ b/nitter-nginx/tasks/main.yml @@ -16,6 +16,10 @@ ansible.builtin.template: src: account.conf dest: /root/.acme.sh/account.conf +- name: Install nginx + ansible.builtin.apt: + name: nginx + state: present - name: Generate certificate using acme.sh ansible.builtin.shell: /root/.acme.sh/acme.sh --issue --standalone -d {{ NITTER_DOMAIN }} --pre-hook "service nginx stop" ignore_errors: yes