Lorenzo Villani
3b4bf9c591
Install ZNC Monit config file only when needed
This commit moves the monitoring role to the bottom of site.yml so that
it is executed after all other roles.
This is needed because the monitoring role conditionally installs Monit
configuration file based on whether some other packages have been
installed or not (such as ZNC).
This patch also adds a comment to the "monitoring" entry within the
"roles" list and a `roles/monitoring/README.md` file telling users why
the monitoring role has to come last.
Resolves #284
hace 10 años
Lorenzo Villani
661ed29a3e
Use /usr/sbin/nologin as login shells for vmail and znc users
hace 10 años
Alex Payne
2d2f8a53fb
Only monitor ZNC with monit if role is used.
The other services monitored by the default monit task should always be present except in very custom setups.
Resolves #255 .
hace 10 años
Lorenzo Villani
d5ecf673d3
Calm OCD by sorting almost every with_items block in alphabetical order
hace 10 años
Lorenzo Villani
9b5c2b0229
ZNC: Update configuration template for znc 1.4
ZNC 1.4 uses a new section within the configuration file to specify
password hash and salt. This requires adding a new Ansible variable
'irc_password_salt'.
Also update the README file to reflect above changes.
hace 10 años
Lorenzo Villani
6c58422d25
Add BindHost to prevent random "Connection timed out" errors
Also see: http://b.wardje.eu/2011/12/znc-failing-to-connect.html
hace 10 años
Luke Cyca
8f4c9ea5f3
Put ZNC web interface on its on port that is inaccessible through the firewall
hace 10 años
Luke Cyca
785cad2e84
Upgrade ZNC to 1.4
hace 10 años
Justin Plock
ea0b288818
Moved ufw firewall rules into individual roles
hace 10 años
Thom Wiggers
8578f49e21
Make sure that only ZNC can read its certificate
To bring this certificate in line with how those in ssl.yml are managed.
hace 10 años
Justin Plock
f16d7f33d7
If we want to use SSL, I wasn’t able to connect to port 6667 so I had to change this to 6697 which is the SSL only port
hace 11 años
Alex Payne
f7f7157cec
more updated variable formatting and accommodation of the YAML parser being a fussbudget
hace 11 años
Alex Payne
d28f0f82b9
move to non-deprecated template variable formatting
hace 11 años
Allen Riddell
5d8ca0b08a
ircbouncer: connect to default server (freenode) using ssl
hace 11 años
Luke Cyca
2c083c44e6
Create znc config directory
hace 11 años
Luke Cyca
0877ee4a89
Fix znc download URL
This URL works for all releases, not just the latest one.
hace 11 años
Luke Cyca
f6d74de487
Provide a good initial config for znc (but leave it alone after that)
hace 11 años
Hector Castro
2e7005eaec
Fix SSL certificate for ZNC so that it begins with a private key.
hace 11 años
Greg Karékinian
58dddc55d1
Remove variables from roles
Refs #39
hace 11 años
Luke Cyca
ca8a371320
Use combined cert for postfix, dovecot, and znc
Fix CAcert usage in postfix and dovecot
hace 11 años
Alex Payne
3ccefb5f03
use shell for znc compile. Fixes #12
hace 11 años
Alex Payne
080d38986c
first commit
hace 11 años