Commit 4d565e66 by Jocelyn Delalande

bouncer: Cleanup role

Back to working state !
parent fdd52172
......@@ -8,25 +8,25 @@
- name: create users if not existents
user: name="{{ item.unix_login }}" shell=/bin/bash
with_items: bouncer_users
with_items: "{{ bouncer_users }}"
- name: make dir conf
file:
dest: "~{{ item.unix_login }}/.irssi/certs"
state: directory
recurse: yes
with_items: bouncer_users
with_items: "{{ bouncer_users }}"
- name: deploy ssh access
authorized_key:
user: "{{ item.unix_login }}"
key: "{{ item.ssh_key }}"
with_items: bouncer_users
with_items: "{{ bouncer_users }}"
- name: Deploy irssi settings
template: src=irssi.conf.j2 dest="~{{ item.unix_login }}/.irssi/config"
with_items: bouncer_users
with_items: "{{ bouncer_users }}"
- name: Deploy CAs
copy: src="CAs.pem" dest="~{{ item.unix_login }}/.irssi/certs/CAs.pem"
with_items: bouncer_users
with_items: "{{ bouncer_users }}"
......@@ -4,7 +4,7 @@ servers = (
chatnet = "FreeNode";
port = "6667";
autoconnect = "yes";
autosendcmd = "{{ vaulted_freenode_register_cmd }}"
autosendcmd = "{{ vaulted_freenode_register_cmd }}";
},
{
address = "irc.geeknode.org";
......@@ -12,38 +12,16 @@ servers = (
port = "6667";
autoconnect = "yes";
},
{
address = "irc.rhien.org";
chatnet = "rhien";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
},
{
address = "irc.united-irc.com";
chatnet = "UnitedIRC";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
},
{
address = "irc.rezosup.org";
chatnet = "rezosup";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
},
{
address = "irc.oftc.net";
chatnet = "OFTC";
port = "6697";
use_ssl = "yes";
ssl_cert = "~/.irssi/certs/nick.pem";
ssl_verify = "yes";
ssl_cafile = "~/.irssi/certs/CAs.pem";
autoconnect = "yes";
}
# {
# address = "irc.oftc.net";
# chatnet = "OFTC";
# port = "6697";
# use_ssl = "yes";
# ssl_cert = "~/.irssi/certs/nick.pem";
# ssl_verify = "yes";
# ssl_cafile = "~/.irssi/certs/CAs.pem";
# autoconnect = "yes";
# }
);
......@@ -51,28 +29,15 @@ port = "6667";
chatnets = {
FreeNode = { type = "IRC"; };
GeekNode = { type = "IRC"; };
RHIEN = { type = "IRC"; };
OFTC = { type = "IRC"; };
UnitedIRC = { type = "IRC"; };
rezosup = { type = "IRC"; };
# OFTC = { type = "IRC"; };
};
channels = (
# { name = "#rhien"; chatnet = "RHIEN"; autojoin = "Yes"; },
# { name = "#calvix"; chatnet = "FreeNode"; autojoin = "Yes"; },
{
name = "#tetaneutral.net";
chatnet = "FreeNode";
autojoin = "Yes";
},
{ name = "#rhizome"; chatnet = "FreeNode"; autojoin = "Yes"; },
{ name = "#ilico"; chatnet = "FreeNode"; autojoin = "Yes"; },
{ name = "#gitoyen" chatnet = "GeekNode"; autojoin = "Yes"; },
# { name = "#osm-fr"; chatnet = "OFTC"; autojoin = "Yes"; },
{ name = "#tetaneutral.net"; chatnet = "FreeNode"; autojoin = "Yes";},
{ name = "#fdn"; chatnet = "GeekNode"; autojoin = "Yes"; },
{ name = "#ffdn"; chatnet = "GeekNode"; autojoin = "Yes"; },
{ name = "#federez"; chatnet = "rezosup"; autojoin = "Yes"; },
{ name = "#faimaison"; chatnet = "GeekNode"; autojoin = "Yes"; }
{ name = "#faimaison"; chatnet = "GeekNode"; autojoin = "Yes"; },
{ name = "#mailpile"; chatnet = "FreeNode"; autojoin = "Yes"; },
);
aliases = {
......@@ -177,10 +142,11 @@ statusbar = {
# list of items in statusbar in the display order
items = {
user = { };
window = { };
act = { priority = "10"; };
window = { };
act = { priority = "10"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
otr = { };
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment