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
1728eaee68
Revert "Add “when: not ansible_check_mode” to allow more --check"
...
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit fafff25c20
.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00
David Prevot
fafff25c20
Add “when: not ansible_check_mode” to allow more --check
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
Mathieu Trossevin
141423f966
haproxy: Take into account haproxy_stats_path for munin
gitea/ansible-roles/pipeline/head This commit looks good
2022-08-10 10:24:55 +02:00
Jérémy Lecour
abb14e5b52
haproxy: add haproxy_allow_ip_nonlocal_bind to set sysctl value
continuous-integration/drone/push Build is passing
2022-06-22 15:32:10 +02: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
7dc6f0b849
remove trailing whitespaces
2021-05-13 15:23:39 +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
debc4a82ca
Use 'loop' syntax instead of 'with_first_found'
continuous-integration/drone/push Build is passing
2021-05-04 13:39:47 +02:00
Jérémy Lecour
b3a62aa9d8
haproxy: use loop syntax instead of with_first_found
continuous-integration/drone/push Build is passing
2021-05-03 18:02:57 +02:00
Jérémy Lecour
a5a2c6e335
haproxy: dedicated internal address/binding (without SSL)
continuous-integration/drone/push Build is passing
2021-04-06 14:41:03 +02:00
Jérémy Lecour
1f4079b1b3
haproxy: possible admin access with login/pass
continuous-integration/drone/push Build is passing
2021-02-27 18:43:59 +01:00
Jérémy Lecour
74ac4c7570
haproxy: add tags
2020-12-23 15:42:57 +01:00
Jérémy Lecour
9bdd5ad9e7
haproxy: rotate logs with date extension and immediate compression
continuous-integration/drone/push Build is passing
2020-06-22 19:02:29 +02:00
Jérémy Lecour
ce7468816f
haproxy: deport SSL tuning to Mozilla SSL generator
...
continuous-integration/drone/push Build is passing
There are too many combinations and they change every so often.
It's better to direct the user to the generator to have a good
configuration.
2020-06-15 22:47:08 +02:00
Jérémy Lecour
30cdbae981
haproxy: split stats variables
2020-06-15 22:45:22 +02:00
Jérémy Lecour
011761eb8f
haproxy: add deny_ips file to reject connections
continuous-integration/drone/push Build is passing
2020-06-14 23:28:29 +02:00
Jérémy Lecour
8465743973
haproxy: add some comments to default config
2020-06-14 23:27:50 +02:00
Jérémy Lecour
01a486b20a
haproxy: simplify syntax fos stats section
2020-06-14 23:19:40 +02:00
Jérémy Lecour
f47af9f54f
haproxy: preconfigure SSL with defaults
continuous-integration/drone/push Build is passing
2020-06-14 12:37:04 +02:00
Jérémy Lecour
7f54b8ab60
haproxy: adapt backports installed package list to distibution
2020-06-14 12:37:04 +02:00
Jérémy Lecour
4c71ea2012
haproxy: enable stats frontend with access lists
continuous-integration/drone/push Build is passing
2020-06-09 11:41:33 +02:00
Jérémy Lecour
2ca7872eef
haproxy: syntax and whitespaces
continuous-integration/drone/push Build is passing
2020-06-04 11:22:58 +02:00
Jérémy Lecour
86cab2ab94
haproxy: chroot and socket path are configurable
2020-06-02 10:58:10 +02:00
Jérémy Lecour
3fe1138a98
whitespaces
2020-06-02 10:57:16 +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
Jérémy Lecour
7fe89d2419
haproxy: add another variable for configuration
continuous-integration/drone/push Build is passing
2019-10-11 21:24:32 +02:00
Jérémy Lecour
edb5ace762
haproxy: add a variable to keep the existing configuration
continuous-integration/drone/push Build is passing
2019-10-10 11:27:39 +02:00
Jérémy Lecour
66ab052ac7
haproxy: validate is a module attribute
2019-05-15 17:35:20 +02:00
Jérémy Lecour
e614fe4d85
haproxy: verify → validate
2019-05-15 17:34:26 +02:00
Jérémy Lecour
303dbf9653
haproxy: verify configuration before enabling
2019-05-15 17:30:40 +02:00
Jérémy Lecour
aa28e9c1b8
change repositories URL
2019-03-21 15:31:58 +01:00
Victor LABORIE
cfb87a7b65
haproxy: add vars for tls configuration
...
Permit simply include of TLS configuration, eg. in [global] :
{{ haproxy_ssl_intermediate | indent(width=4) }}
2018-11-13 11:07:06 +01:00
Victor LABORIE
8cd689f9b4
haproxy: move check_haproxy_stats to nagios-nrpe role
2018-09-28 15:21:42 +02:00
Victor LABORIE
c4f29c5b37
haproxy: add an option for ignore NOLB check status
2018-09-28 15:15:32 +02:00
Jérémy Lecour
fbc9bf3288
haproxy: add a backward compatible variable for backports
2018-08-09 17:11:47 +02:00
Tristan PILAT
db683ea9c3
Fix role - shift haproxy_apt_preferences file to the templates directory
2018-07-24 15:43:45 +02:00
Tristan PILAT
e83ca81776
Haproxy role now handle haproxy installation from backports for Debian Stretch
2018-07-24 12:29:42 +02:00
Tristan PILAT
5f09eac22e
Include remount-usr in haproxy nagios task
2018-06-14 14:28:19 +02:00
Jérémy Lecour
ec535b036c
apt module: Use "state: present" instead of "state: installed"
...
"state: installed" is deprecated in Ansible 2.5
2018-05-18 09:33:25 +02:00
Victor LABORIE
df891f6aee
haproxy: fix Munin plugin dependencies
2018-02-14 14:10:00 +01:00
Victor LABORIE
cbf64417bf
haproxy: Munin plugin need a Debian Package
2018-02-13 16:49:24 +01:00
Victor LABORIE
2727a6dfa1
haproxy: add Munin graphes
2018-02-13 16:37:40 +01:00
Jérémy Lecour
a9278c0d70
haproxy: add a Nagios check
2017-09-19 09:37:38 +02:00
Gregory Colpart
aca83c50a9
need libssl1.0.0 backport for haproxy in jessie-backports
2017-08-29 00:05:36 +02:00
Gregory Colpart
df6170404f
typo in include file
2017-08-29 00:01:26 +02:00
Jérémy Lecour
62fbbd2016
Rename role "apt-repositories" to "apt"
2017-07-19 08:56:46 +02:00