Emilien Mantel
a2780d3d95
Fix Ansible Lint
2021-09-01 11:45:44 +02:00
Emilien Mantel
6c7e0c2a47
Fix yaml lint
2021-09-01 11:21:12 +02:00
Emilien Mantel
8268eb266a
Fix no_log call crashes on Ansible 2.11
2021-09-01 11:02:45 +02:00
Emilien Mantel
3e228d0812
Typofix
2020-02-04 13:08:48 +01:00
Emilien Mantel
8c3b1c7f13
Compat with python3
2020-01-01 22:56:08 +01:00
Emilien Mantel
729173c46c
Better SSL management
...
- Use filter plugins
- Acme: can use proxy protocol
- Acme: uses all sites name
- Acme: add more tests while crashing
2019-12-31 12:43:43 +01:00
Emilien Mantel
a9a72dd25f
Drop PHP version support (useless) + fix some bugs
2019-12-29 16:29:18 +01:00
Emilien Mantel
c524b97b0f
Use upstream config from HanXHX.php role
2019-12-26 17:16:13 +01:00
Emilien Mantel
bb5e00d6f5
Don't remove acme.sh keys if acme.sh fails
2019-05-03 14:16:23 +02:00
Emilien Mantel
cf010e4a4b
Reload nginx with acme.sh
...
Sometimes fu****** systemd don't want you to restart nginx in a loop. I
t crashes the role.
2019-04-30 16:45:14 +02:00
Emilien M
39d3f5f06a
Fix lints warnings ( #40 )
...
* Add new filter plugins related to SSL
* Ignore lint on few tasks
2019-04-26 13:29:06 +02:00
Emilien Mantel
4f94fc2211
acme.sh fixes
...
- fix acme.sh home directory
- Clean crash when acme.sh fails (EXPERIMENTAL)
2019-04-25 13:59:19 +02:00
Emilien M
e89a154bb5
Support Debian Buster ( #37 )
2019-04-23 09:28:00 +02:00
Emilien Mantel
5ed17149e5
Drop Jessie support
2019-02-13 14:40:03 +01:00
Emilien Mantel
91ca31e676
This role only works with Ansible 2.6+
2019-02-12 18:18:03 +01:00
Emilien Mantel
a021888728
Change DH file if length updated
2019-02-12 18:07:04 +01:00
Emilien Mantel
3642df1d5f
Some fixes
2019-02-08 16:59:01 +01:00
Emilien Mantel
c399bf35b5
Compat with modern ansible versions
2019-02-05 11:05:04 +01:00
Emilien M
8218e5c972
Fix deprecations ( #35 )
...
* Drop Nagios support
* Fix start PHP-FPM on Docker
* Fix deprecations on Ansible 2.7
- with_ -> loop
- fix filters as test
- test version_compare -> version
- set min_version to 2.5
2019-01-24 11:05:46 +01:00
Emilien Mantel
817929beca
Add self-signed cert feature
2018-04-20 09:32:46 +02:00
Emilien Mantel
3da65983bd
Fix acme create
2018-03-22 20:35:51 +01:00
Emilien Mantel
3fb8f092fb
Fake site + force IPv6
2018-03-22 20:30:10 +01:00
Emilien Mantel
6e877c070e
Configure nginx restart with acme.sh
2018-03-22 19:03:33 +01:00
Emilien Mantel
59dd3997de
Acme uses light fake sites
2018-03-22 18:39:10 +01:00
Emilien Mantel
ae6dc88bc4
Delete current site when playing with acme.sh
2018-03-22 17:49:02 +01:00
Emilien Mantel
6719b415ab
Fix playbook crash whith acme and multiple domain
2018-03-22 17:47:53 +01:00
Emilien Mantel
6cae501266
Drop fastcgi_params supprort
2018-03-17 14:02:08 +01:00
Emilien Mantel
5843d695b3
Manage FreeBSD 11
2018-03-16 21:56:15 +01:00
Emilien Mantel
c2685732a4
Manages Ansible 2.4+ with Docker
...
Closes #30
2018-03-15 18:06:38 +01:00
Emilien Mantel
737dfbeb30
Add debug mode
2018-03-15 16:10:37 +01:00
Emilien Mantel
552999c782
Install modules on Debian 9+ or 8 with backports
2018-01-15 22:36:53 +01:00
Emilien Mantel
fe32f8d40a
Revert "minor fix"
...
This reverts commit 5d46daaba8
.
2018-01-15 22:33:55 +01:00
Emilien Mantel
5d46daaba8
minor fix
2018-01-15 19:12:22 +01:00
Emilien Mantel
4ca8f9e319
Check nginx_version before install modules
2018-01-15 18:41:17 +01:00
Emilien Mantel
d3d9b5c296
Install modules OK
2017-12-14 20:06:29 +01:00
Emilien Mantel
45886ca9cc
Install modules just after nginx
2017-12-14 19:41:05 +01:00
Emilien Mantel
0788b6c84f
Delete PHP upstream when nginx_php is empty
...
Closes #31
2017-12-07 11:09:44 +01:00
Emilien Mantel
222998839c
Fix site.state == absent
...
- Site is deleted now
- Doc updated
2017-12-06 12:05:46 +01:00
Emilien Mantel
8f76b9c68c
acme.sh : no_log + fix check created
2017-12-03 02:15:48 +01:00
Emilien Mantel
8dca6c8404
Fix acme when acme_port is not defined
2017-12-03 02:08:32 +01:00
Emilien Mantel
a01f6cd5ea
Let's encript certificate with acme.sh
2017-12-03 01:32:56 +01:00
Emilien Mantel
9fc4838b1b
Fix loop control
2017-11-03 11:06:57 +01:00
Emilien Mantel
3304934227
Add loop_control.label on site tasks
2017-11-03 10:56:18 +01:00
Emilien Mantel
57968b50c0
Restart nginx on SSL file writes
2017-11-03 10:30:24 +01:00
Emilien Mantel
10bd837f54
Setup is now 'handled'
2017-10-26 15:50:59 +02:00
Emilien Mantel
4b3b857733
Remove heavy code (nginx filename) using a filter
2017-10-26 15:33:00 +02:00
Emilien Mantel
36652f4742
Move upstream templates to conf.d
2017-10-26 11:09:21 +02:00
Emilien Mantel
463ce45105
New PHP management
...
- New versions (7.x)
- PHP upstream name
- Sites can use : default PHP version, select first one by PHP version,
select by upstream name
- Add PHP filter plugin
2017-10-26 11:04:38 +02:00
Emilien Mantel
de40c07ac5
Better readability
2017-10-03 17:57:35 +02:00
Emilien Mantel
54dd1ef3c0
Remove legacy code
2017-10-03 17:38:06 +02:00