diff --git a/.gitmodules b/.gitmodules index 8cbea7f..782073f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -85,3 +85,6 @@ [submodule "roles/do1jlr.webhost"] path = roles/do1jlr.webhost url = https://github.com/roles-ansible/ansible_role_webhost.git +[submodule "roles/do1jlr.weechat"] + path = roles/do1jlr.weechat + url = https://github.com/chaos-bodensee/role_weechat.git diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml index 487d064..e741f6a 100644 --- a/group_vars/all/vars.yml +++ b/group_vars/all/vars.yml @@ -18,4 +18,3 @@ accounts: # version check for all supported roles submodules_versioncheck: true - diff --git a/host_vars/mail01.l3d.space/vars.yml b/host_vars/mail01.l3d.space/vars.yml index 328d8c5..fb642c4 100644 --- a/host_vars/mail01.l3d.space/vars.yml +++ b/host_vars/mail01.l3d.space/vars.yml @@ -7,6 +7,13 @@ users: - l3d@derpy.l3d.yt - l3d@backup-rsa.l3d.yt - l3d@business.wingcon.com + weechat: + - l3d@pinkie.l3d.yt + - l3d@mobile.l3d.yt + - l3d@backup.l3d.yt + - l3d@derpy.l3d.yt + - l3d@backup-rsa.l3d.yt + - l3d@business.wingcon.com mailwebuser: - l3d@pinkie.l3d.yt - l3d@mobile.l3d.yt @@ -18,6 +25,7 @@ users: accounts: - l3d - mailwebuser + - weechat # mail domains additional_dns_maildomains: 'mail.l3d.space imap.l3d.space smtp.l3d.space' @@ -61,6 +69,17 @@ firewall_allowed_tcp_ports: mysql_bind_address: "{{ _mysql_bind_address }}" mysql_root_password: "{{ _mysql_root_password }}" +# weechat +weechat__install: true +weechat__autostart: true +weechat__user: 'weechat' +weechat__home_directory: '/home/weechat' +weechat__install_plugins: true +weechat__use_custom_config: true +weechat__custom_private_repo: 'gitea@backwesen.de:l3d/weechat-config.git' +weechat__custom_gen_ssh_key_pair: true +weechat__custom_version: 'main' + # postfix postfix__myhostname: "{{ mailserver_domain }}" postfix__tls_cert: "{{ mailserver__ssl_cert }}" diff --git a/roles/do1jlr.weechat b/roles/do1jlr.weechat new file mode 160000 index 0000000..54caea0 --- /dev/null +++ b/roles/do1jlr.weechat @@ -0,0 +1 @@ +Subproject commit 54caea0e8057369d76e9503dddee472f6601d387 diff --git a/site.yml b/site.yml index 075bef3..3fd46a8 100644 --- a/site.yml +++ b/site.yml @@ -46,3 +46,4 @@ - {role: do1jlr.dovecot, tags: [mail, dovecot, mailserver_dovecot]} - {role: postfix, tags: [mail, postfix]} - {role: do1jlr.rspamd, tags: [mail, rspamd]} + - {role: do1jlr.weechat, tags: [irc, weechat]}