Commit Graph

85 Commits

Author SHA1 Message Date
Jérémy Dubois d38119eb0f nginx : fix variable name and debug
nginx_minimal defined the nginx_package_name_default variable which was not
used instead of the nginx_default_package_name variable

also fixed debug which was reversed, and add another one to be sure which mode
is used
2021-10-18 15:01:59 +02:00
Jérémy Lecour 37cb18f676 nginx: improve tasks naiming 2021-10-02 09:35:17 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Jérémy Lecour dde2672715 nginx: no more "minimal" mode, but the package remains customizable.
continuous-integration/drone/push Build is passing Details
2021-02-04 11:31:36 +01:00
Jérémy Lecour cff309ff41 nginx: add access to server status on default VHost 2021-02-04 11:30:32 +01:00
Brice Waegeneire 1785e6a500 nginx: fix server-status
continuous-integration/drone/push Build is passing Details
2021-02-03 16:25:08 +01:00
Jérémy Lecour 1d56e002b4 nginx: change from "nginx_status-XXX" to "server-status-XXX"
continuous-integration/drone/push Build is passing Details
2020-12-23 15:53:36 +01:00
Jérémy Lecour 4bf5b1daa6 nginx: read server-status values before changing the config
continuous-integration/drone/push Build is passing Details
2020-06-14 12:49:10 +02:00
Jérémy Lecour e5d4ea3c18 nginx: make default vhost configurable 2020-06-14 12:37:04 +02:00
Jérémy Lecour 27e217467e Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Ludovic Poujol ab00a46e19 nginx: fix munin fcgi not working (missing chmod 660 on logs)
continuous-integration/drone/push Build encountered an error Details
2019-08-22 15:14:36 +02:00
Ludovic Poujol 8d71965ec9 nginx: fix munin fcgi not working (missing chmod 660 on logs)
continuous-integration/drone/push Build encountered an error Details
2019-08-22 14:47:32 +02:00
Jérémy Lecour 9a489ccf29 apache/nginx: fix server-status replacement 2019-05-02 12:16:47 +02:00
Jérémy Lecour b6499671fa apache/nginx: add server status suffix in default site if missing 2019-04-26 11:02:02 +02:00
Jérémy Lecour 8e618ce70a apache/nginx: add server status suffix in VHost if missing 2019-04-25 17:12:19 +02:00
Jérémy Lecour 7bb15e7b70 evocheck : add "x-frame-options: sameorigin" for Munin 2019-04-16 10:47:26 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Ludovic Poujol c9ba37614c nginx: Munin url config is now a template to insert the server-status prefix 2018-12-05 16:25:48 +01:00
Jérémy Lecour 06a0f0d9b7 apache/nginx/fail2ban: mention ip_whitelist.yml in README.md 2018-11-02 18:18:22 +01:00
Jérémy Lecour 24ddc78a23 apache/nginx: IP adresses can also be removed 2018-11-02 18:15:17 +01:00
Patrick Marchand b776fc3da2 Make ip whitelist tasks more flexible
Now the list of whitelisted ip addresses can be updated simply by
including the specific tasks in an external playbook without polluting
our role list.

This change takes effect for nginx, apache and fail2ban.
2018-11-02 18:08:23 +01:00
Victor LABORIE 6e6820805d nginx: add tag for ips management 2018-10-19 10:31:45 +02:00
Jérémy Lecour ac1a3e5f09 nginx: cleaner way to overwrite the server status suffix 2018-09-09 23:02:02 +02:00
Jérémy Lecour 17b8b4c3d5 nginx: add a backward compatible variable for backports 2018-08-09 17:13:04 +02:00
Tristan PILAT b095f87f85 Nginx role now handle Nginx installation from backports for either Debian Jessie or Stretch 2018-07-31 16:06:05 +02:00
Jérémy Lecour f5339568ed nginx: don't debug variables in verbosity 0 2018-03-28 21:12:24 +02:00
Jérémy Lecour 1ac3300ade nginx: package name can be specified (default: nginx-full) 2018-02-22 00:10:14 +01:00
Jérémy Lecour 6cb1a5765a whitespaces 2018-02-08 11:11:47 +01:00
Jérémy Lecour c6d3b804d9 nginx: fix basic auth for default vhost 2018-02-08 11:11:47 +01:00
Jérémy Lecour 24a5f0df7e nginx: fix servers status dirname 2018-02-01 12:27:18 +01:00
Jérémy Lecour 25a47173b8 create server status parent directory if missing 2018-01-18 17:17:34 +01:00
Jérémy Lecour b634840b42 apache/nginx: server status suffix 2018-01-03 10:05:20 +01:00
Jérémy Lecour 28954e634c whitespaces 2018-01-03 10:05:20 +01:00
Jérémy Lecour aeba94bcba default/additional variables
List of hosts/ip are a combination of 2 lists allowing overrides
2017-12-20 18:04:54 +01:00
Jérémy Lecour 3a3708e9a6 Nginx: really fix munin-cgi log files permission
with_fileglob is executed locally, not remotely. It is useless here.
Instead, let's explicitely chown all files with a shell command.
2017-12-05 23:46:14 +01:00
Jérémy Lecour f0bc63e02e Nginx: fix permissions for munin-cgi log files 2017-12-05 23:30:51 +01:00
Jérémy Lecour b3ad23fcc6 Nginx: fix fcgi Munin graphs
fixes https://forge.evolix.org/issues/2371
2017-12-05 23:07:13 +01:00
Jérémy Lecour 19b6773b18 nginx: adjust apt preferences for backports
All variants of nginx and libssl are used from backports
2017-11-26 12:44:41 +01:00
Jérémy Lecour 8ef9554746 Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +01:00
Victor LABORIE 5e9795435b nginx: fix ip filtering in default vhost 2017-10-12 15:38:07 +02:00
Jérémy Lecour 9527aff68a apache/nginx: remove compatibility mode 2017-10-11 18:13:15 +02:00
Jérémy Lecour 517c0e672b Nginx: completely rename ipaddr_whitelist 2017-10-10 09:57:29 +02:00
Jérémy Lecour ae745d89ff Nginx: don't overwrite the default vhost 2017-10-09 16:35:38 +02:00
Jérémy Lecour 9798022192 Nginx: fix ipaddr_whitelist path 2017-10-09 16:13:26 +02:00
Ludovic Poujol 1e68bcb2fc Nginx: fix missing double quote 2017-10-09 11:56:34 +02:00
Jérémy Lecour e7e9f9e125 Apache/Nginx: use ipaddr_whitelist 2017-10-07 13:48:04 +02:00