Use nginx role with custom nginx.conf support

This commit is contained in:
julian 2023-04-15 18:13:22 +02:00
commit 65ac14c18b
23 changed files with 378 additions and 115 deletions

View file

@ -0,0 +1,10 @@
- name: Restart `nginx.service`
ansible.builtin.systemd:
name: nginx.service
state: restarted
become: true
- name: apt-get update
ansible.builtin.apt:
update_cache: true
become: true

View file

@ -1,4 +0,0 @@
- name: Reload nginx
ansible.builtin.systemd:
service: nginx
state: reloaded