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 + } + }