Lorenzo Villani
e7703d0d9c
Add support for Apache 2.4 on Ubuntu 14.04
преди 10 години
Lorenzo Villani
e2e61a2f76
Install 'fuse' instead of 'fuse-utils'
The 'fuse-utils' package doesn't exist on Ubuntu 14.04 and is marked as a
transitional package on both Debian 7 and Ubuntu 12.04 that installs the
'fuse' package.
Since Debian 7 is the officially supported distribution we can safely
switch to install 'fuse' instead of 'fuse-utils' and we also gain
compatibility with Ubuntu 14.04.
преди 10 години
Sven Neuhaus
63ba754eb7
libpam-google-authenticator uses distribution package on Ubuntu 14.04
преди 10 години
Gelnior
7995bac36c
put back enc.fs (removed by mistake)
преди 10 години
Gelnior
bd57edd5a5
newebe config: fix Newebe config file task
преди 10 години
Justin Plock
1d7986fd96
Enable UFW and deny everything by default
Removed unused status checks on UFW
преди 10 години
Justin Plock
ea0b288818
Moved ufw firewall rules into individual roles
преди 10 години
Justin Plock
ed75c9469b
libpam-dev didn't exist for some people so switching to libpam0g-dev instead
преди 10 години
Justin Plock
e88fb57cba
Skip the google authenticator generation if we're running as vagrant. Vagrant can't sudo to the sovereign test user so this won't work.
преди 10 години
Justin Plock
2d751ab680
The .google_authenticator file has to be generated by the user that is going to attempt to use it. Also, -W doesn't seem to work (results an in INVALID_WINDOW error in /var/log/auth.log), so use -w 1 to allow for a single concurrent token
преди 10 години
Justin Plock
c037dce07a
Clarified parameters are bit in a comment
преди 10 години
Justin Plock
22a8717f6d
Automatically generate the Google authenticator file for the default user
преди 10 години
Justin Plock
84c9febec7
Added Google Authenticator 2FA logins
преди 10 години
Justin Plock
89f018bd23
In preparation for using any 2FA solution, it will most likely need to modify sshd_config, so let's change the file in place instead of overwriting it completely.
преди 10 години
Justin Plock
9f918363b9
Set a ServerName for apache (fixes #187 )
преди 10 години
Benjamin Reitzammer
d957760697
Making main user's shell configurable
преди 10 години
Justin Plock
3b0308d69e
Allow both TCP and UDP port 53 for DNS lookups through OpenVPN
преди 10 години
Joost Baaij
4837d2e87a
extract NTP logic
преди 11 години
Joost Baaij
2033c37982
Enabled unattended-upgrades
This works on Debian/Ubuntu only.
There are similar packages for other distributions, but they still
need manual configuration. It seemed better to go for the common
denominator. unattended-upgrades is usually installed by default
anyway, so we are just reinforcing best practices.
преди 11 години
Joost Baaij
335cef5c9f
Enabled POP3S for old-timeys who dig that
added dovecot-pop3d
allowed in the firewall
monitored with monit
added relevant tests
преди 11 години
Joshua Lund
4ed07a1e0a
* Made the OpenVPN port and protocol (tcp/udp) configurable
* Added 'cipher' and 'auth' lines to the generated client configs
преди 11 години
Luke Cyca
4bc4cebf41
Explicit permissions for all cert files
преди 11 години
Luke Cyca
76d52b63f3
XMPP cert handling improvements, ufw rules, and tests
преди 11 години
Alex Payne
f7f7157cec
more updated variable formatting and accommodation of the YAML parser being a fussbudget
преди 11 години
Alex Payne
34d7595c0b
ensure we can install from third-party repos across playbooks
преди 11 години
Alex Payne
d28f0f82b9
move to non-deprecated template variable formatting
преди 11 години
Luke Cyca
2f145ce543
Two small apache-related fixes
преди 11 години
Luke Cyca
37a0400c22
Standardize apache’s 301 redirect to https, and enable HSTS
преди 11 години
Luke Cyca
bdab1cd6b1
Reworked ufw logic to not use change_when keyword
because it's not available in a stable ansible release yet
преди 11 години
Allen Riddell
5b8ba840a4
workaround ufw bug, call ufw enable twice
преди 11 години
Allen Riddell
ae0d1ca8f4
Ignore ufw error resulting from known bug on Debian 7
In order to check the version of the linux distribution we need to
set `gather_facts` to True.
Closes #73 .
преди 11 години
Luke Cyca
7043143f90
Improved idempotency and removed ip detection for checkrbl
преди 11 години
Allen Riddell
88705bb7fa
Replace ferm with ufw
преди 11 години
Bertrand Cachet
373cb4584b
add(apticron): configure email
Apticron is configured to send email to {{ admin_email }}
преди 11 години
Luke Cyca
c697e135e9
Move NameVirtualHost directives to ports.conf
преди 11 години
Alex Payne
f27442b678
move tarsnap to its own role
преди 11 години
Luke Cyca
5beacea2d2
Absolute path for tarsnap
преди 11 години
Luke Cyca
ca8a371320
Use combined cert for postfix, dovecot, and znc
Fix CAcert usage in postfix and dovecot
преди 11 години
Alex Payne
65103923ec
Fix typo in firm task name
преди 11 години
Luke Cyca
7e2ce80a25
Update apt repo and upgrade safe packages
преди 11 години
Luke Cyca
09c8fcb295
Named all tasks and made them idempotent where possible
преди 11 години
Luke Cyca
6168cd68d0
Automate encfs setup and name mount point more appropriately
преди 11 години
Luke Cyca
12d42ad38a
Configure sshd_config to disable PermitRootLogin and PasswordAuthentication
преди 11 години
Luke Cyca
921cebb41d
Fix invalid service state
преди 11 години
Luke Cyca
5920b17609
Remove usergroup because debian adds it by default as the primary group
преди 11 години
Henrik Hodne
a844401d7c
tarsnap: Only run cron job once per day.
The old action would generate a crontab job for `* 3 * * *`, which means every minute at 3am, so 60 times per day.
преди 11 години
Alex Payne
080d38986c
first commit
преди 11 години