From 39e5340961d91bd2feef8e2b0d0604364be8019c Mon Sep 17 00:00:00 2001 From: Naglfar Date: Wed, 16 Jun 2021 16:20:08 +0200 Subject: [PATCH] Append znc directive to oidentd --- roles/shell/tasks/znc.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/roles/shell/tasks/znc.yml b/roles/shell/tasks/znc.yml index f489f29..1e1c24d 100644 --- a/roles/shell/tasks/znc.yml +++ b/roles/shell/tasks/znc.yml @@ -42,3 +42,17 @@ owner: root group: root mode: 0755 + +- name: Insert/update configuration + blockinfile: + dest: /etc/oidentd.conf + content: | + # ZNC reply with the name of the user that initiated the connection. + user "znc" + { + default + { + allow spoof + allow spoof_all + } + }