Jérémy Lecour
ab30ea4cde
nginx: keep indentation
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2629|10|2619|6|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/377//ansiblelint">Evolix » ansible-roles » unstable #377</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-10-18 22:12:40 +02:00
Jérémy Lecour
00fe225a3c
force: [yes,no] → force [true,false]
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2615|7|2608|177|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Jérémy Lecour
ee21973371
Use FQCN
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00
David Prevot
dbef71d791
Drop trailing whitespaces
gitea/ansible-roles/pipeline/head This commit looks good
2023-01-06 09:54:51 +01:00
Patrick Marchand
1c6fdbf85a
Remove warning ignores as they are depreciated
...
gitea/ansible-roles/pipeline/head This commit looks good
Will cause a hard fail in ansible 2.14, so better get rid of them now.
There is no alternative, but the ansible warnings for those modules
are not hard failures anyways.
2022-12-22 11:32:32 -05:00
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.
2022-07-05 15:57:41 +02:00
William Hirigoyen (Evolix)
1fdc0f2566
Fix missing evolinux_server_custom file copy in Nginx role.
continuous-integration/drone/push Build was killed
2022-02-15 17:46:14 +01:00
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
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
2021-02-04 11:31:36 +01:00
Jérémy Lecour
1d56e002b4
nginx: change from "nginx_status-XXX" to "server-status-XXX"
continuous-integration/drone/push Build is passing
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
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
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
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