Mathieu Trossevin
498d85b549
[Cleanup] nginx: whitespace + comparison with empty string
2020-12-23 15:08:43 +01:00
Jérémy Lecour
4bf5b1daa6
nginx: read server-status values before changing the config
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)
2019-08-22 15:14:36 +02:00
Ludovic Poujol
8d71965ec9
nginx: fix munin fcgi not working (missing chmod 660 on logs)
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
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
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
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
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
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
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
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
Victor LABORIE
1cc4ea65df
nginx: fix default link in minimal install
2017-09-08 15:04:58 +02:00
Gregory Colpart
2bb7367edf
standardization for Debian versions : we use "jessie" or "9 or later" to prepare buster smoothly as possible
2017-08-18 03:50:30 +02:00
Victor LABORIE
ab0e7b010b
nginx: fix link to default vhost
2017-08-04 18:53:08 +02:00
Jérémy Lecour
b6e8c1760e
nginx: fix typo for tags
2017-07-27 18:14:56 -04:00
Jérémy Lecour
62fbbd2016
Rename role "apt-repositories" to "apt"
2017-07-19 08:56:46 +02:00
Jérémy Lecour
a179f824f1
merge nginx-light into nginx
2017-07-14 15:42:36 +02:00
Jérémy Lecour
d02cef44bd
nginx: fix file path
2017-07-13 16:26:14 +02:00
Jérémy Lecour
dbf4a3d0fa
haproxy/nginx: add sources if backports are needed
2017-07-13 14:17:25 +02:00
Jérémy Lecour
da974b6cb0
merge nginx roles
2017-07-13 09:59:37 +02:00
Jérémy Lecour
34f6354a9e
random suffices for phpmyadmin abnd server-status with apg
2017-07-06 17:14:28 +02:00
Jérémy Lecour
0e0bc1cbbd
Split default vhost into nginx ad apache roles
2017-07-06 17:14:28 +02:00
Jérémy Lecour
9fae99f8dc
Minor syntax and whitespaces fixes
2017-05-19 22:29:53 +02:00
Jérémy Lecour
5b2ab0d8d3
Ansible >= 2.2 supported
2017-03-24 14:15:09 +01:00
Jérémy Lecour
294cea44e8
Change mode with leading 0, but still as String
2017-03-23 16:59:43 +01:00
Jérémy Lecour
8920ff1ee4
Add "always_run: yes" where it's pertinent
...
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour
478e9a8272
replace "state: installed" with "state: present"
2017-01-12 17:37:48 +01:00
Jérémy Lecour
fa9a54bc6c
Nginx: properly enable fcgi service for Munin
2017-01-10 14:34:47 +01:00
Jérémy Lecour
5a4f838375
Unix mode MUST be a quoted string when using octal notation
2017-01-05 12:03:54 +01:00
Jérémy Lecour
91c8fad950
Extract logrotate configurations in roles
2017-01-03 16:58:19 +01:00