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
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-28 09:03:37 +01:00
Gregory Colpart
e9bc035fb9
add set crypt_use_gpgme=no Mutt option
continuous-integration/drone/push Build is passing
2022-06-01 15:25:05 +02:00
Jérémy Lecour
b293cf2cf9
Install python 2 or 3 libraries according to running python version
2021-09-30 17:05:10 +02:00
Jérémy Lecour
437d2986ae
better python3 modules management
2021-09-29 18:39:29 +02:00
Jérémy Lecour
2c441f176a
mysql: mariadb-client-10.5 on Debian 11
2021-07-02 21:11:27 +02:00
Jérémy Lecour
c5bb8f06ae
mysql: use python3 with Debian 11 and later
2021-07-02 21:10:52 +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
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
485ec39674
Use 'loop' syntax instead of 'with_nested'
2021-05-04 14:29:50 +02:00
Jérémy Lecour
5138065059
Use 'loop' syntax instead of 'with_items'
2021-05-04 14:19:18 +02:00
Mathieu Trossevin
6b89fa18cb
mysql-oracle: Update clients' conf to match server's
...
continuous-integration/drone/pr Build is failing
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
d7aed91043
packweb-multiphp: Change default configuration for compatibility
...
continuous-integration/drone/pr Build is failing
/var/run is now /run (and it is what is used in the .service file)
Have a default directory configured as bind target so things works by default
2020-10-19 17:33:58 +02:00
Jérémy Lecour
7283e34077
Replace version_compare() with version()
2020-02-25 10:45:35 +01:00
Jérémy Lecour
27e217467e
Change "|changed" with "is changed"
2019-12-31 16:18:56 +01:00
Jérémy Lecour
eded11f88f
Change "|search" with "is search"
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
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
Jérémy Lecour
a9b61161e0
fix typos
continuous-integration/drone/push Build is passing
2019-10-24 15:55:40 +02:00
Jérémy Lecour
2ea88dc385
mysql-oracle: backport tasks from mysql role
continuous-integration/drone/push Build is passing
2019-10-21 16:32:59 +02:00
Jérémy Lecour
aa28e9c1b8
change repositories URL
2019-03-21 15:31:58 +01:00
Jérémy Lecour
847a9d4c00
mysql-oracle: remove mysql-apt-config 0.8.10
...
This package is MySQL 8 only, so we stay with 0.8.9.
2018-09-28 10:45:50 +02:00
Jérémy Lecour
40ac98cb79
mysql-oracle: better handle packages and users
2018-09-27 15:05:02 +02:00
Jérémy Lecour
f5c07860bc
mysql-oracle: upgrade to mysql-apt-config 0.8.10
2018-09-27 12:11:50 +02:00
Jérémy Lecour
b2596aad2a
mysql: add a variable to prevent mysql from restarting
2018-09-13 18:32:23 +02:00
Jérémy Lecour
ec12948398
mysql: add quotes in a few tasks
2018-07-10 16:27:10 +02:00
Jérémy Lecour
fb4a254b9c
mysql-oracle: fix configuration directory variable
2018-06-15 14:41:24 +02:00
Jérémy Lecour
03431fc116
mysql: add an option to install the dev client libraries
2018-06-09 13:15:08 +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
Jérémy Lecour
15ebb84bb6
mysql/mysql-oracle: mysqltuner cron scripts is 0755
2018-04-22 17:32:23 +02:00
Jérémy Lecour
92bb60495d
mysql: add a name attribute for systemd daemon-reload module
2018-04-19 15:44:05 +02:00
Jérémy Lecour
423acc79fd
mysql-oracle: copy evolinux config files in mysql.cond.d
2018-04-18 12:06:15 +02:00
Jérémy Lecour
cdbce0ae24
mysql-oracle: use systemd module to reload daemon
2018-04-18 12:05:09 +02:00
Jérémy Lecour
ae6e376048
mysql: properly reload systemd
2018-04-15 23:58:31 +02:00
Jérémy Lecour
a12dca0b70
mysql/mysql-oracle: mysqltuner cron task is executable
2018-03-14 09:35:26 +01:00
Jérémy Lecour
b81ef36f92
mysql: remount /usr (if needed) before creating scripts directory
2018-03-14 09:33:14 +01:00
Ludovic Poujol
77cc1cce7d
mysql-oracle: Add repo.mysql.com to minifw if needed
2018-03-02 15:49:47 +01:00
Ludovic Poujol
3488ec758d
mysql-oracle: Add missing remount-usr
2018-03-02 15:22:36 +01:00
Jérémy Lecour
738d56db68
Add mysql-oracle role
...
Install and configure MySQL 5.7 with packages from Oracle
2018-02-28 17:12:25 +01:00