Add gitea to /etc/hosts.

This commit is contained in:
yohan 2024-11-03 21:28:36 +01:00
parent c2a1a93329
commit 25046e9054

View File

@ -111,6 +111,12 @@
line: "127.0.0.1 git.{{ DOMAIN }} git"
become: true
- name: Add gitea.{{ DOMAIN }} to /etc/hosts
ansible.builtin.lineinfile:
path: "/etc/hosts"
line: "127.0.0.1 gitea.{{ DOMAIN }} gitea"
become: true
- name: Check if lets encrypt certificate installation is already done
stat:
path: /mnt/volumes/reverse-proxy_conf/data/reverse-proxy-gitea-le-ssl.conf