Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ansible-roles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jocelyn Delalande
ansible-roles
Commits
4d565e66
Commit
4d565e66
authored
Aug 30, 2018
by
Jocelyn Delalande
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bouncer: Cleanup role
Back to working state !
parent
fdd52172
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
57 deletions
+23
-57
bouncer/tasks/main.yml
bouncer/tasks/main.yml
+5
-5
bouncer/templates/irssi.conf.j2
bouncer/templates/irssi.conf.j2
+18
-52
No files found.
bouncer/tasks/main.yml
View file @
4d565e66
...
...
@@ -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
}}"
bouncer/templates/irssi.conf.j2
View file @
4d565e66
...
...
@@ -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 = "#f
ederez"; chatnet = "rezosup
"; autojoin = "Yes"; },
{ name = "#
faimaison"; chatnet = "GeekNode"; autojoin = "Yes"; }
{ name = "#f
aimaison"; 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 = { };
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment