From 47c9e66b2506f8abe314cb77fca3f9c5012f2a69 Mon Sep 17 00:00:00 2001 From: Tunui Franken Date: Sun, 23 Mar 2025 12:47:04 +0100 Subject: [PATCH] Allow git clone on localhost for tunuifranken.info --- roles/tunuifranken/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/tunuifranken/tasks/main.yml b/roles/tunuifranken/tasks/main.yml index bbf38ba..418fafa 100644 --- a/roles/tunuifranken/tasks/main.yml +++ b/roles/tunuifranken/tasks/main.yml @@ -86,6 +86,12 @@ group: tunuifranken mode: 0600 +- name: Make sure git server resolves to localhost + become: true + ansible.builtin.lineinfile: + path: /etc/hosts + line: "127.0.0.1\ttunuifranken.info" + - name: Clone tunuifranken.info repo become: true become_user: tunuifranken