Óscar Nájera
8f0cc14f76
Fix: Ansible uses the value present in apt module state parameter
vor 6 Jahren
Bryan Voss
128b7e63a2
Update for Debian 9
vor 7 Jahren
Ndubisi Nwaku
55770977da
Add group name ssl-cert for SSL certificates
vor 7 Jahren
Aleksandr Bogdanov
cdc0d3fb4e
Fixing encfs shell invocation for ansible 2 compatibility
vor 7 Jahren
Óscar Nájera
0635815b52
Ensure en_US.UTF-8 locale is present
vor 7 Jahren
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.
vor 8 Jahren
Mike Ashley
0e7adf6e3a
Fix bug exposed by commit 264c232b (#572 )
The `private_key` variable used to check for changes was never
registered.
vor 8 Jahren
Simon Schoeters
264c232bbf
Remove duplicate when statement in Let's Encrypt task
While adding the Let's Encrypt offline testing block in 1746afcc we
accidentially duplicated a the 'when' statement. Ansible only looks at
the last when statement for a given block meaning the earlier one has no
use. This commit merges both lines in one.
vor 8 Jahren
Dosenpfand
f2c14dd911
Remove unneeded/deprecated apache configuration
vor 8 Jahren
Tomas Bedrich
899f527ca3
Updated LE renewal hook system
vor 8 Jahren
Tomas Bedrich
9786230808
Changed LE-renew cron frequency
vor 8 Jahren
Mike Ashley
3d68705341
Add leading 0 to octal file permissions
This is done to suppress warnings from ansible-lint.
vor 8 Jahren
Carl Meyer
a343509129
No need for letsencrypt.yml to ensure Apache is running.
vor 8 Jahren
Carl Meyer
a5f3ec17c1
Workaround bug with enabling SysV scripts on Jessie.
vor 8 Jahren
Carl Meyer
c3c2cbf096
Don't bounce Apache unless we actually need to.
vor 8 Jahren
Carl Meyer
cc4b3d6fef
Don't request a new LE cert if we have one already.
vor 8 Jahren
Carl Meyer
3009c9d2d3
Fix changed-reporting for LE deps installation.
vor 8 Jahren
Carl Meyer
e8796ecd28
Idempotent and independent post-certificate-renewal tasks.
vor 8 Jahren
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.
vor 8 Jahren
Mike Ashley
3d4987c4e2
Use a more descriptive name for cert generation script
vor 8 Jahren
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.
vor 8 Jahren
Mike Ashley
5385badd49
Correct bug in SSL cert setup for test environment
vor 8 Jahren
Mike Ashley
bc5bfa4b21
Determine registered subdomains at deploy-time for LE
vor 8 Jahren
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.
vor 8 Jahren
Mike Ashley
1746afcc3a
Arrange automated tests to not use Let's Encrypt
vor 9 Jahren
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.
vor 9 Jahren
Mike Ashley
7f46129a4c
Remove use of wildcard certificate
vor 9 Jahren
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.
vor 8 Jahren
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.
vor 8 Jahren
Sebastian Kriems
fe536873b7
ufw tasks shall have the ufw tag
resolves #453
Conflicts:
roles/common/tasks/ufw.yml
vor 8 Jahren
Dan Milon
829c8491c7
restart apache on SSL changes
vor 9 Jahren
Dan Milon
a5c6f663ce
properly install changed SSL certificate
vor 9 Jahren
Sven Neuhaus
d59c5eff05
Generate 2048 DH group and add it to Postfix
vor 9 Jahren
Dan Milon
2fb7cfa7c9
Add SSL stapling cache for apache
Fixes #406
vor 9 Jahren
Laurent Arnoud
1419c4e26e
Use common_timezone and fix idempotence
Thanks-to: 8e693b3db3
Conflicts:
roles/common/tasks/main.yml
vor 9 Jahren
Sebastian Kriems
968abba197
ufw tasks shall have the ufw tag
resolves #453
vor 8 Jahren
Sven Neuhaus
20bd80c599
Generate 2048 DH group and add it to Postfix
vor 9 Jahren
Dan Milon
34f3a483aa
Add SSL stapling cache for apache
Fixes #406
vor 9 Jahren
Dan Milon
a419d9403b
restart apache on SSL changes
vor 9 Jahren
Dan Milon
e063abaa51
properly install changed SSL certificate
vor 9 Jahren
Laurent Arnoud
dfb1b764d7
Use common_timezone and fix idempotence
Thanks-to: 8e693b3db3
vor 9 Jahren
Alex Payne
0579cf1ba9
Use same Apache server name configuration across distros
vor 9 Jahren
Alex Payne
474c1d5f92
No longer need `fuse` group in Jessie.
vor 9 Jahren
Alex Payne
6906412f63
Remove wheezy-specific ufw task.
vor 9 Jahren
Alex Payne
6d1eebb9d2
Use Ansible task names, not comments.
vor 9 Jahren
Alex Payne
c9b32cd2e2
Same Google auth install should work for both Jessie and Trusty.
Move Apache task to their own file.
vor 9 Jahren
Alex Payne
006f8e9b82
Just plain Ruby
vor 9 Jahren
Laurent Arnoud
a09e2e71c1
tar used in place of unarchive module
vor 9 Jahren
Laurent Arnoud
311fae7e11
Trailing whitespace
vor 9 Jahren
Laurent Arnoud
3b8f15b745
Added whois for fail2ban report
Report will print: "missing whois program"
vor 9 Jahren