install socat in nitter-nginx/tasks/main.yml

This commit is contained in:
staticsafe 2021-09-11 15:00:17 -04:00
parent 659137c994
commit b6b76af30f
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@
ansible.builtin.apt:
name: nginx
state: present
- name: Install socat for standalone mode
ansible.builtin.apt:
name: socat
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