Brice Waegeneire
71879b999c
nginx: Start server once.
...
Nginx is already started at the end of the main task. Starting the
service before we configure it correctly can put the role as failed if
the default configuration don't work on the host.
1 month ago
Jérémy Lecour
0d1ccc79c3
whitespace
5 months ago
William Hirigoyen (Evolix)
1fdc0f2566
Fix missing evolinux_server_custom file copy in Nginx role.
6 months ago
Brice Waegeneire
168b0fa9b7
nginx: Add snippet for custom server block config.
7 months ago
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
10 months ago
Jérémy Lecour
37cb18f676
nginx: improve tasks naiming
10 months ago
Jérémy Lecour
0fe0244116
Update Galaxy metadata (company, platforms and galaxy_tags)
1 year ago
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
1 year ago
Jérémy Lecour
5138065059
Use 'loop' syntax instead of 'with_items'
1 year ago
Jérémy Lecour
dde2672715
nginx: no more "minimal" mode, but the package remains customizable.
2 years ago
Jérémy Lecour
cff309ff41
nginx: add access to server status on default VHost
2 years ago
Brice Waegeneire
1785e6a500
nginx: fix server-status
2 years ago
Jérémy Lecour
1d56e002b4
nginx: change from "nginx_status-XXX" to "server-status-XXX"
2 years ago
Jérémy Lecour
c2ae3de929
nginx: read server-status values before changing the config
2 years ago
Jérémy Lecour
d5b29a2fe0
nginx: make default vhost configurable
2 years ago
Jérémy Lecour
4bf5b1daa6
nginx: read server-status values before changing the config
2 years ago
Jérémy Lecour
e5d4ea3c18
nginx: make default vhost configurable
2 years ago
Jérémy Lecour
27e217467e
Change "|changed" with "is changed"
3 years ago
Jérémy Lecour
e04d881988
replace "with_items" in apt modules
3 years ago
Victor LABORIE
6f5e13f8b8
Add evolix prefix to include_role
3 years ago
Ludovic Poujol
ab00a46e19
nginx: fix munin fcgi not working (missing chmod 660 on logs)
3 years ago
Ludovic Poujol
8d71965ec9
nginx: fix munin fcgi not working (missing chmod 660 on logs)
3 years ago
Benoît S.
771c75c1de
all-roles: Dot not use ansible_lsb as it is deprecated
...
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
3 years ago
Jérémy Lecour
bee57a0b3c
change distribution release codename
...
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
3 years ago
Jérémy Lecour
9a489ccf29
apache/nginx: fix server-status replacement
3 years ago
Jérémy Lecour
b6499671fa
apache/nginx: add server status suffix in default site if missing
3 years ago
Jérémy Lecour
8e618ce70a
apache/nginx: add server status suffix in VHost if missing
3 years ago
Jérémy Lecour
7bb15e7b70
evocheck : add "x-frame-options: sameorigin" for Munin
3 years ago
Jérémy Lecour
aa28e9c1b8
change repositories URL
3 years ago
Ludovic Poujol
c9ba37614c
nginx: Munin url config is now a template to insert the server-status prefix
4 years ago
Jérémy Lecour
06a0f0d9b7
apache/nginx/fail2ban: mention ip_whitelist.yml in README.md
4 years ago
Jérémy Lecour
24ddc78a23
apache/nginx: IP adresses can also be removed
4 years ago
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.
4 years ago
Victor LABORIE
6e6820805d
nginx: add tag for ips management
4 years ago
Jérémy Lecour
ac1a3e5f09
nginx: cleaner way to overwrite the server status suffix
4 years ago
Jérémy Lecour
17b8b4c3d5
nginx: add a backward compatible variable for backports
4 years ago
Tristan Pilat
b095f87f85
Nginx role now handle Nginx installation from backports for either Debian Jessie or Stretch
4 years ago
Jérémy Lecour
f5339568ed
nginx: don't debug variables in verbosity 0
4 years ago
Jérémy Lecour
1ac3300ade
nginx: package name can be specified (default: nginx-full)
5 years ago
Jérémy Lecour
6cb1a5765a
whitespaces
5 years ago
Jérémy Lecour
c6d3b804d9
nginx: fix basic auth for default vhost
5 years ago
Jérémy Lecour
24a5f0df7e
nginx: fix servers status dirname
5 years ago
Jérémy Lecour
25a47173b8
create server status parent directory if missing
5 years ago
Jérémy Lecour
b634840b42
apache/nginx: server status suffix
5 years ago
Jérémy Lecour
28954e634c
whitespaces
5 years ago
Jérémy Lecour
aeba94bcba
default/additional variables
...
List of hosts/ip are a combination of 2 lists allowing overrides
5 years ago
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.
5 years ago
Jérémy Lecour
f0bc63e02e
Nginx: fix permissions for munin-cgi log files
5 years ago
Jérémy Lecour
b3ad23fcc6
Nginx: fix fcgi Munin graphs
...
fixes https://forge.evolix.org/issues/2371
5 years ago
Jérémy Lecour
19b6773b18
nginx: adjust apt preferences for backports
...
All variants of nginx and libssl are used from backports
5 years ago