install nginx in nitter-nginx/tasks/main.yml
This commit is contained in:
parent
173aa1520a
commit
659137c994
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue