Carl Meyer
c3c2cbf096
Don't bounce Apache unless we actually need to.
9 gadus atpakaļ
Carl Meyer
cc4b3d6fef
Don't request a new LE cert if we have one already.
9 gadus atpakaļ
Carl Meyer
3009c9d2d3
Fix changed-reporting for LE deps installation.
9 gadus atpakaļ
Carl Meyer
e8796ecd28
Idempotent and independent post-certificate-renewal tasks.
9 gadus atpakaļ
nodiscc
d876c87e21
bash syntax cleanup
as per discussion in https://github.com/sovereign/sovereign/pull/504
9 gadus atpakaļ
Carl Meyer
b93deb9411
Remove stray + prefix in sudoers file.
9 gadus atpakaļ
Allen Riddell
a77f9b95ad
Replace deprecated sudo_user with become_user
The ``sudo`` and ``sudo_user`` directives are replaced with ``become``
and ``become_user`` in Ansible 1.9.
9 gadus atpakaļ
Mike Ashley
3d4987c4e2
Use a more descriptive name for cert generation script
9 gadus atpakaļ
Mike Ashley
a38f4e08d3
Force download of letsencrypt release
The installer automatically updates itself, which registers as a change
in the git repo. To maintain idempotency of the task list, the repo
download must be forced.
9 gadus atpakaļ
Mike Ashley
5385badd49
Correct bug in SSL cert setup for test environment
9 gadus atpakaļ
Mike Ashley
bc5bfa4b21
Determine registered subdomains at deploy-time for LE
9 gadus atpakaļ
Mike Ashley
2ad6f78e45
Address incomplete chain error
Fix Apache's configuration for version 2.4.8 and above. See
https://community.letsencrypt.org/t/untrusted-on-mobile-newbe/7903
9 gadus atpakaļ
Mike Ashley
58e9e7a445
Add a short introduction to Let's Encrypt
9 gadus atpakaļ
Mike Ashley
86048ee397
Update prosody to use LE certs directly
Don't copy the LE certificates. Instead use the ssl-cert group to
manage access to the LE certificates directly. See
https://github.com/letsencrypt/letsencrypt/issues/1425 for a request to
have the LE client do this itself.
9 gadus atpakaļ
Mike Ashley
1746afcc3a
Arrange automated tests to not use Let's Encrypt
9 gadus atpakaļ
Mike Ashley
8f1b6a9ed8
Arrange for services to restart on cert renewal
9 gadus atpakaļ
Mike Ashley
65729d12f8
Update xmpp role for LE certificate
9 gadus atpakaļ
Mike Ashley
7bb523950e
Draft design description for Let's Encrypt support
9 gadus atpakaļ
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 gadus atpakaļ
Mike Ashley
7f46129a4c
Remove use of wildcard certificate
9 gadus atpakaļ
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.
9 gadus atpakaļ
Mike Ashley
d3abc02f84
Clean up Apache SSL configuration
Avoid using the Include directive. Move most of the SSL configuration
to the global configuration and leave enabling the SSL engine to each
virtual host that wants to use it.
9 gadus atpakaļ
fengor
e63661f982
Added "UseRoaming no" to ssh.config to fix OpenSSH: client bugs CVE-2016-0777 and CVE-2016-0778
see: http://undeadly.org/cgi?action=article&sid= 2016011414
9 gadus atpakaļ
Sebastian Kriems
fe536873b7
ufw tasks shall have the ufw tag
resolves #453
Conflicts:
roles/common/tasks/ufw.yml
9 gadus atpakaļ
Dan Milon
829c8491c7
restart apache on SSL changes
9 gadus atpakaļ
Dan Milon
a5c6f663ce
properly install changed SSL certificate
9 gadus atpakaļ
Sven Neuhaus
d59c5eff05
Generate 2048 DH group and add it to Postfix
9 gadus atpakaļ
Dan Milon
2fb7cfa7c9
Add SSL stapling cache for apache
Fixes #406
9 gadus atpakaļ
Laurent Arnoud
1419c4e26e
Use common_timezone and fix idempotence
Thanks-to: 8e693b3db3
Conflicts:
roles/common/tasks/main.yml
9 gadus atpakaļ
Alex Payne
0579cf1ba9
Use same Apache server name configuration across distros
10 gadus atpakaļ
Alex Payne
290a3b4312
Remove wheezy-specific Apache SSL config omission
10 gadus atpakaļ
Alex Payne
474c1d5f92
No longer need `fuse` group in Jessie.
10 gadus atpakaļ
Alex Payne
6906412f63
Remove wheezy-specific ufw task.
10 gadus atpakaļ
Alex Payne
6d1eebb9d2
Use Ansible task names, not comments.
10 gadus atpakaļ
Alex Payne
c9b32cd2e2
Same Google auth install should work for both Jessie and Trusty.
Move Apache task to their own file.
10 gadus atpakaļ
Alex Payne
006f8e9b82
Just plain Ruby
10 gadus atpakaļ
Laurent Arnoud
a09e2e71c1
tar used in place of unarchive module
10 gadus atpakaļ
Laurent Arnoud
311fae7e11
Trailing whitespace
10 gadus atpakaļ
Laurent Arnoud
3b8f15b745
Added whois for fail2ban report
Report will print: "missing whois program"
10 gadus atpakaļ
Will McCutchen
1be1afe1ff
Disable SSL stapling on wheezy
10 gadus atpakaļ
Will McCutchen
16b66cc849
Define apache SSL config in one place
10 gadus atpakaļ
Manfred Touron
16c93ea486
Using more verbose 'dependencies' tag (#393 )
10 gadus atpakaļ
Manfred Touron
b49f3a6586
Tagged 'deps' aptitude tasks
10 gadus atpakaļ
Laurent Arnoud
353e69d299
Remove duplication with items unattended upgrades
10 gadus atpakaļ
Laurent Arnoud
89d47731ff
Add molly-guard and unattended-upgrades as common pkgs
10 gadus atpakaļ
Alex Payne
b11fb68559
Automatically set up passwordless sudo for deploy user.
Closes #343 .
10 gadus atpakaļ
Aleksandr Bogdanov
a849948e8d
Choosing the closest ubuntu mirror before anything else
10 gadus atpakaļ
Sven Neuhaus
ae58053653
Create /decrypted directory even if encfs is not used.
Helps with issue #120 .
10 gadus atpakaļ
Sven Neuhaus
d5217ea1cd
Create main user without "fuse" group, instead add it later as part
of the "encfs" tag. This allows the user to make encfs optional.
Helps with issue #120 .
10 gadus atpakaļ
Marius Voila
b13ab39f11
cleaning security.yml
10 gadus atpakaļ