use variable for nginx path

This commit is contained in:
rick 2022-06-12 03:44:53 +02:00
parent a9513167ca
commit 068fe90825
Signed by: Rick
GPG key ID: 4A6223D66294EB20

View file

@ -118,13 +118,13 @@
- name: configuration de Nginx
template:
src: "cgit-nginx"
dest: "/etc/nginx/sites-available/cgit.conf"
dest: "{{ ava }}/cgit.conf"
mode: 0644
- name: lien symbolique pour le site cgit
file:
src: /etc/nginx/sites-available/cgit.conf
dest: /etc/nginx/sites-enabled/cgit.conf
src: "{{ ava }}/cgit.conf"
dest: "{{ ena }}/cgit.conf"
state: link
- name: démarrage par défaut de fcgiwrap