Mathieu Trossevin
97d3d29210
[Cleanup] networkd-to-ifconfig
...
Add changed_when: false to shell command that does not change anything.
2020-12-23 15:08:42 +01:00
Mathieu Trossevin
478beab856
[Cleanup] mysql-oracle (name + comparison with empty string)
2020-12-23 15:08:42 +01:00
Mathieu Trossevin
93f981be3b
[Cleanup] memcached and metricbeat
...
Don't compare with empty string
2020-12-23 15:08:40 +01:00
Mathieu Trossevin
d206ae4c85
[Cleanup] lxc-solr
...
Replaced direct call to lxc-attach with the lxc_container module calling
a container_command.
(+ spaces before and after variable name)
2020-12-23 15:06:43 +01:00
Mathieu Trossevin
5cf81335e6
[Cleanup] multiple small role cleaning
...
Mostly whitespace and comparison with empty strings
2020-12-23 15:06:42 +01:00
Mathieu Trossevin
440bec2feb
[Cleanup] fail2ban
...
Name all tasks.
It would seems that the task creating the `fail2ban_ignore_ips` fact for
the whitelist exist in both main.yml and ip_whitelist.yml, one of them
might be superfluous.
2020-12-23 15:06:42 +01:00
Mathieu Trossevin
63a0894906
[Cleanup] Clean up elasticsearch role
...
Don't compare with empty string
Explicitly checkout master branch of head repository.
Space after variable name
2020-12-23 15:06:42 +01:00
Mathieu Trossevin
26eec48954
[Cleanup] amazon-ec2, apache, bind, evolinux-todo, evomaintenance
...
Don't compare with empty string
Name all tasks
Variables should have space before and after their name
2020-12-23 15:06:41 +01:00
Mathieu Trossevin
0825d88552
[Cleanup] Clean up evoacme and evocheck roles
...
Don't compare with empty string as an empty string is already false and
a non-empty string is already true.
Name all tasks.
2020-12-23 15:06:38 +01:00
Mathieu Trossevin
3ec85f9560
[Cleanup] Clean up evolinux-base and evolinux-users
...
evolinux-users: Add name to all tasks for self documentation purposes
and don't compare with empty string.
evolinux-base: Remove trailing whitespaces.
2020-12-23 15:05:04 +01:00
Mathieu Trossevin
2036db938b
[Cleanup] Cleanup the mysql role
...
Remove the useless call for `cat` as `grep` take a file as it's second
argument that tell it to search for the pattern in a specific file
instead of whatever is passed to it through stdin.
Name both task defining the position of the config directory for
self-documentation purposes (and please ansible-lint defaults).
Change role description to it's description in the readme instead of the
default description asking for the role to be described.
Don't compare to empty string, an empty string is already false while a
non-empty string is true.
2020-12-23 15:02:20 +01:00
Jérémy Lecour
66a6e67de2
varnish: variable for jail configuration
2020-12-21 23:33:14 +01:00
Jérémy Lecour
1922b51fbe
Release 10.3.0
2020-12-21 16:03:49 +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
81fbd98a5f
evolinux-users: improve uid/login checks
2020-12-17 15:25:48 +01:00
Jérémy Lecour
0b528f15da
tomcat-instance: fail if uid already exists
2020-12-17 08:06:44 +01:00
Jérémy Lecour
5b2d3b09d0
Create system users for vmail (dovecot) and evoadmin
2020-12-17 08:05:16 +01:00
Jérémy Lecour
3c4986275c
evocheck: upstream release 20.12
2020-12-08 11:07:42 +01:00
Jérémy Lecour
772bce8c0b
dovecot: vmail uid/gid are configurable
2020-12-07 17:26:45 +01:00
Jérémy Lecour
4d6f88f0f4
minifirewall: add variables to force upgrade the script and the config (default: False)
2020-12-07 17:23:37 +01:00
Eric Morino
c324866cd2
Add set variables for debian stretch and jessie
2020-12-07 16:45:32 +01:00
Ludovic Poujol
1160a5e809
postgresql: correct confitinal on set_fact
2020-12-07 16:43:59 +01:00
Eric Morino
0f7dcb57b1
add postgresql_version to empty
2020-12-07 16:24:11 +01:00
Eric Morino
2a94a3bdf1
fix packages_buster
2020-12-07 16:21:57 +01:00
Eric Morino
5522f822f7
add set facts for buster
2020-12-07 16:18:56 +01:00
Jérémy Lecour
98f798b9fb
cerbot: parse HAProxy config file only if HAProxy is found
2020-12-03 17:26:16 +01:00
Jérémy Lecour
84bd3372d5
blockinfile: change from "content" to "block"
...
It solves the diff bug :
https://github.com/ansible/ansible/issues/62315
2020-12-02 15:22:35 +01:00
Jérémy Lecour
fc71bb5945
minifirewall: upstream release 20.12
2020-12-01 22:57:13 +01:00
Jérémy Lecour
9aa24f4cde
minifirewall: Docker support
2020-12-01 22:47:38 +01:00
Jérémy Lecour
b6817cb62c
evoacme: upstream release 20.12
2020-12-01 22:27:05 +01:00
Jérémy Lecour
18ac1e7279
redis: check maxmemory in NRPE check
...
If "maxmemory" is set and "maxmemory-policy" is missing or set to
"noeviction" then we enforce the "maxmemory" limit
2020-12-01 19:02:42 +01:00
Eric Morino
ae07d508cf
Fix key and update just after add pgdg repo key
2020-11-30 10:51:34 +01:00
Eric Morino
aa62555e9e
Fix name file preference for PGDG repository
2020-11-27 11:07:18 +01:00
Jérémy Lecour
86d59cbb5f
mysql: install save_mysql_processlist script
2020-11-24 13:59:04 +01:00
Ludovic Poujol
1d8b7c3bea
apt: disable APT Periodic
...
This interfere with our usual workflow (listupgrade)
Note : Using 0 instead of false is intentional, The value is used by the
apt-daily script that except a "0" to disable itself.
2020-11-24 11:19:18 +01:00
Jérémy Lecour
592030ee9a
evoacme: variable to disable Debian version check (default: False)
2020-11-21 09:59:10 +01:00
Jérémy Lecour
b43d0f3629
evoacme: upstream release 20.11
2020-11-19 21:21:07 +01:00
Jérémy Dubois
6c202dcf4f
Check that ansible_distribution_major_version is defined in sudo task
...
This variable does not exist when run on OpenBSD servers, making the ansible
playbook to exit in a fatal state.
2020-11-06 16:28:35 +01:00
Ludovic Poujol
15154169cf
kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd)
2020-10-30 11:56:24 +01:00
Ludovic Poujol
7a37167e20
mysql: fix typo in restart handler
2020-10-29 10:42:57 +01:00
Ludovic Poujol
4de33e41b5
mysql: fix typo in restart handler
2020-10-29 10:41:33 +01:00
Ludovic Poujol
82d9abca3d
Merge pull request 'packweb-multi-php: Allow php to contact local mysql with localhost' ( #116 ) from mtrossevin/ansible-roles:packweb-multi-php2 into unstable
...
Reviewed-on: evolix/ansible-roles#116
2020-10-26 09:29:05 +01:00
Mathieu Trossevin
6b89fa18cb
mysql-oracle: Update clients' conf to match server's
...
The socket path was changed in the server configuration, update the
client configuration to match so as not to break anything.
2020-10-23 13:03:23 +02:00
Mathieu Trossevin
71f85a5863
Merge branch 'unstable' into packweb-multi-php2
2020-10-20 17:41:36 +02:00
Mathieu Trossevin
2ea4745f93
lxc-php: Update changelog
2020-10-20 17:27:34 +02:00
Ludovic Poujol
c8d4da532f
evoacme: Don't ignore hooks with . in the name (ignore when it's ".disable")
2020-10-20 10:58:51 +02:00