Mathieu Trossevin
956ecd4700
Replace the include
module with include_tasks
or import_tasks
...
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).
Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2022-03-30 16:40:44 +02:00
Ludovic Poujol
9995fca35d
varnish: update munin plugin to work with recent varnish versions
2022-02-08 16:16:24 +01:00
Jérémy Lecour
ea382a1686
varnish: add additional options
2022-01-12 13:04:22 +01:00
Jérémy Lecour
2f68ae5339
Preliminary support for Bullseye
2021-07-02 20:58:09 +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
02451f1e67
add default (useless) value for file lookup
2021-05-19 14:35:08 +02:00
Jérémy Lecour
403ea45eeb
Add forgotten tag
2021-05-06 13:03:28 +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
debc4a82ca
Use 'loop' syntax instead of 'with_first_found'
2021-05-04 13:39:47 +02:00
Jérémy Lecour
6ee66d0a74
varnish: add tags
2020-12-23 15:43:05 +01:00
Jérémy Lecour
66a6e67de2
varnish: variable for jail configuration
2020-12-21 23:33:14 +01:00
Jérémy Lecour
67ce8de85e
varnish: custom reload script is now useless
2020-12-20 23:25:34 +01:00
Jérémy Lecour
0f5ce44186
varnish: change template name for better readability
2020-12-20 23:04:17 +01:00
Jérémy Lecour
d430dea043
whitespaces
2020-12-20 23:03:51 +01:00
Jérémy Lecour
3e72d6961c
varnish: no threadpool delay by default
2020-12-20 23:03:37 +01:00
Jérémy Lecour
8861169a04
varnish: config file name is configurable
2020-12-20 23:03:10 +01:00
Jérémy Lecour
977c28c720
varnish: fix start command when multiple addresses are present
2020-06-16 13:51:07 +02:00
Jérémy Lecour
ac4ef5ff96
whitespaces
2020-06-14 19:47:16 +02:00
Jérémy Lecour
7283e34077
Replace version_compare() with version()
2020-02-25 10:45:35 +01:00
Jérémy Lecour
79bb6103b8
Change "|version_compare" with "is version_compare"
2019-12-31 10:18:19 +01:00
Victor LABORIE
6f5e13f8b8
Add evolix prefix to include_role
2019-11-29 14:00:25 +01:00
Gregory Colpart
6fe86a76c5
remove reload-vcl.sh (Custom Varnish ExecReload script) when Debian >= 10
2019-09-24 14:00:22 +02:00
Jérémy Lecour
aa28e9c1b8
change repositories URL
2019-03-21 15:31:58 +01:00
Ludovic Poujol
7fda501eae
varnish: Add -F to the sustemd unit to not fork at start
2018-05-04 11:38:11 +02:00
Jérémy Lecour
12808feeff
varnish: add a restart handler
2017-12-04 14:59:34 +01:00
Jérémy Lecour
419416b531
Varnish : reload or restart if needed
2017-11-30 23:51:18 +01:00
Victor LABORIE
1c48df025c
Move /usr rw remount into remount-usr role
2017-11-07 13:34:05 +01:00
Ludovic Poujol
745c45f88d
Fix remount_usr_rw/yml
2017-10-11 17:58:18 +02:00
Victor LABORIE
3acd997eca
varnish: fix systemd unit override
2017-10-02 11:10:08 +02:00
Gregory Colpart
139a27383d
Use /etc/systemd/system/*.service.d/evolinux.conf and fix systemd unit
2017-09-14 19:30:59 +02:00
Jérémy Lecour
0c2170cf5c
Remove some backups, again
2017-07-18 19:38:03 +02:00
Jérémy Lecour
65f91f09b0
Disable warnings for mount commands related to /usr read-only
2017-06-12 15:11:40 +02:00
Jérémy Lecour
274de55cc3
varnish remout /usr with read/write
2017-06-07 16:28:32 +02:00
Gabriel Periard-Tremblay
87ebadcadd
Kitchen: Change base image to evolix/ansible
2017-06-02 08:38:08 -04:00
Romain Dessort
9ea06d987e
Add Varnish plugin for munin
2017-05-23 16:19:29 -04:00
Romain Dessort
45fbbef950
Fix issue in Varnish systemd unit
...
The ExecReload key was not overridden correctly.
2017-05-23 11:37:47 -04:00
Romain Dessort
4ca37fddbc
Fix another issue in task for removing Varnish sysV default files
2017-05-23 11:22:57 -04:00
Romain Dessort
f2c4f2a59f
Fix task which removes obsolete sysV files for varnish daemons
2017-05-23 11:13:40 -04:00
Jérémy Lecour
54afe11580
varnish: test with systemd
2017-05-20 19:58:12 +02:00
Jérémy Lecour
033ebaa593
Add tests for many roles
2017-05-18 15:44:21 +02:00
Victor LABORIE
4ea69eea6d
varnish: permit included config
2017-05-15 14:21:28 +02:00
Victor LABORIE
688f0505a8
varnish: fix systemd service overriding
2017-05-12 15:32:35 +02:00
Victor LABORIE
da39dbb87b
varnish: fix handlers
2017-05-12 14:47:58 +02:00
Victor LABORIE
b08f968f44
varnish: add tags
2017-05-12 13:44:59 +02:00
Victor LABORIE
7310004d3d
varnish: add templating of default.vcl
2017-05-12 12:40:23 +02:00
Jérémy Lecour
45337ece51
Varnish: add many variables for systemd unit file
2017-04-12 18:04:36 +02:00
Jérémy Lecour
bdf534fdbb
Varnish: fix logrotate replace
...
it was not idempotent and would add a segment indefinitely
2017-04-12 18:04:09 +02:00
Romain Dessort
0156555920
Fix logrotate error for varnish*
2017-03-30 11:54:58 -04: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