Commit graph

66 commits

Author SHA1 Message Date
Mathieu Trossevin 7c632352a0
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).
2023-01-03 14:43:42 +01:00
Jérémy Lecour 7a0e0d81d6 Proper jinja spacing
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Jérémy Lecour 8eae5bba63 Use systemd module instead of command 2022-12-28 09:02:17 +01:00
Jérémy Lecour 54dca82838 varnish: fix missing state, that blocked the task
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-26 19:10:21 +01:00
Jérémy Lecour ecd9d1543f varnish: better package facts usage with check mode and tags
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-21 15:46:46 +01:00
Jérémy Lecour 7f3f7b3e04 varnish: fix tags and variables
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 22:32:56 +01:00
Jérémy Lecour c9ccda2277 varnish: create special tmp directory for syntax validation
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-11-02 19:45:15 +01:00
Jérémy Lecour 4d259d3c04 varnish: systemd override depends on Varnish
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Use Varnish version instead of Debian version to choose systemd override template, to make it forward compatible
2022-11-02 13:55:03 +01:00
Mathieu Trossevin 78dcec8656
varnish: Repair systemd unit for jessie/stretch
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
2022-08-10 11:18:23 +02:00
Ludovic Poujol 9995fca35d varnish: update munin plugin to work with recent varnish versions
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-08 16:16:24 +01:00
Jérémy Lecour ea382a1686 varnish: add additional options
Some checks reported errors
continuous-integration/drone/push Build was killed
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-19 14:35:08 +02:00
Jérémy Lecour 403ea45eeb Add forgotten tag
All checks were successful
continuous-integration/drone/push Build is passing
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'
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-21 23:33:14 +01:00
Jérémy Lecour 67ce8de85e varnish: custom reload script is now useless
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-12-20 23:25:34 +01:00
Jérémy Lecour 0f5ce44186 varnish: change template name for better readability
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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