Óscar Nájera
0635815b52
Ensure en_US.UTF-8 locale is present
7 years ago
Wolfgang Steitz
3a42d15850
setup posgres within the common role
Postgres is used by several roles, but the setup is currently part of the 'mailserver' role. By moving it to 'common', it's possible to disable the mailserver without breaking the others.
8 years ago
Mike Ashley
3d68705341
Add leading 0 to octal file permissions
This is done to suppress warnings from ansible-lint.
8 years ago
Mike Ashley
8e1d473027
Use Let's Encrypt for generating site certificates
This method uses Subjective Alternative Names (SANs) to get one
certificate for all the subdomains that Sovereign employs, whether or
not the user configured their site with the roles.
9 years ago
Mike Ashley
195d8811fc
Remove references to Trusty and Wheezy
Make a clean distinction between Debian 7 and Debian 8. Anticipate the
next Ubuntu LTS release (Xenial) that is planned for support.
8 years ago
Laurent Arnoud
1419c4e26e
Use common_timezone and fix idempotence
Thanks-to: 8e693b3db3
Conflicts:
roles/common/tasks/main.yml
9 years ago
Laurent Arnoud
dfb1b764d7
Use common_timezone and fix idempotence
Thanks-to: 8e693b3db3
9 years ago
Alex Payne
c9b32cd2e2
Same Google auth install should work for both Jessie and Trusty.
Move Apache task to their own file.
9 years ago
Alex Payne
006f8e9b82
Just plain Ruby
9 years ago
Manfred Touron
16c93ea486
Using more verbose 'dependencies' tag (#393 )
9 years ago
Manfred Touron
b49f3a6586
Tagged 'deps' aptitude tasks
9 years ago
Laurent Arnoud
353e69d299
Remove duplication with items unattended upgrades
9 years ago
Laurent Arnoud
89d47731ff
Add molly-guard and unattended-upgrades as common pkgs
9 years ago
Aleksandr Bogdanov
a849948e8d
Choosing the closest ubuntu mirror before anything else
10 years ago
Sven Neuhaus
ae58053653
Create /decrypted directory even if encfs is not used.
Helps with issue #120 .
9 years ago
fengor
2fd1e1b722
readded google authenticator lines
9 years ago
fengor
224e8cb339
Setting timezone to UTC
9 years ago
Lorenzo Villani
d5ecf673d3
Calm OCD by sorting almost every with_items block in alphabetical order
10 years ago
Lorenzo Villani
e7703d0d9c
Add support for Apache 2.4 on Ubuntu 14.04
10 years ago
Sven Neuhaus
63ba754eb7
libpam-google-authenticator uses distribution package on Ubuntu 14.04
10 years ago
Gelnior
7995bac36c
put back enc.fs (removed by mistake)
10 years ago
Gelnior
bd57edd5a5
newebe config: fix Newebe config file task
10 years ago
Justin Plock
22a8717f6d
Automatically generate the Google authenticator file for the default user
10 years ago
Justin Plock
84c9febec7
Added Google Authenticator 2FA logins
10 years ago
Justin Plock
9f918363b9
Set a ServerName for apache (fixes #187 )
10 years ago
Joost Baaij
4837d2e87a
extract NTP logic
10 years ago
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.
10 years ago
Alex Payne
f7f7157cec
more updated variable formatting and accommodation of the YAML parser being a fussbudget
11 years ago
Alex Payne
34d7595c0b
ensure we can install from third-party repos across playbooks
11 years ago
Luke Cyca
2f145ce543
Two small apache-related fixes
11 years ago
Luke Cyca
37a0400c22
Standardize apache’s 301 redirect to https, and enable HSTS
11 years ago
Allen Riddell
88705bb7fa
Replace ferm with ufw
11 years ago
Bertrand Cachet
373cb4584b
add(apticron): configure email
Apticron is configured to send email to {{ admin_email }}
11 years ago
Alex Payne
f27442b678
move tarsnap to its own role
11 years ago
Luke Cyca
7e2ce80a25
Update apt repo and upgrade safe packages
11 years ago
Luke Cyca
09c8fcb295
Named all tasks and made them idempotent where possible
11 years ago
Luke Cyca
6168cd68d0
Automate encfs setup and name mount point more appropriately
11 years ago
Luke Cyca
921cebb41d
Fix invalid service state
11 years ago
Alex Payne
080d38986c
first commit
11 years ago