summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Cline <jeremy@jcline.org>2017-09-12 18:26:49 +0000
committerJeremy Cline <jeremy@jcline.org>2017-09-12 18:26:49 +0000
commit2c9e0110b1173e0daf48372553f3a15dfc12dc0c (patch)
treeff86b8a36cd7c0246be5cf7c61af5ec19bce17df
parentb7f745ab44b4d8b9e40c5b6157b10a92a7275beb (diff)
downloadansible-2c9e0110b1173e0daf48372553f3a15dfc12dc0c.tar.gz
ansible-2c9e0110b1173e0daf48372553f3a15dfc12dc0c.tar.xz
ansible-2c9e0110b1173e0daf48372553f3a15dfc12dc0c.zip
Configure fmn staging to auth with nickserv
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
-rw-r--r--roles/notifs/backend/templates/fmn.consumer.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py
index 599c59046..7b865b5d7 100644
--- a/roles/notifs/backend/templates/fmn.consumer.py
+++ b/roles/notifs/backend/templates/fmn.consumer.py
@@ -143,8 +143,14 @@ config = {
# IRC
"fmn.irc.network": "irc.freenode.net",
"fmn.irc.nickname": ircnick,
- "fmn.irc.port": 6667,
"fmn.irc.timeout": 120,
+ {% if env == 'staging' -%}
+ "fmn.irc.port": 6697,
+ "fmn.irc.use_ssl": True,
+ "fmn.irc.nickserv_pass": "{{ fedora-notifstg-freenode-pass }}"
+ {% else -%}
+ "fmn.irc.port": 6667,
+ {% endif %}
# Colors:
"irc_color_lookup": {