Commit graph

13 commits

Author SHA1 Message Date
Mathieu Trossevin e49379ebd0
tomcat: Use system units instead of user units
This massively reduce the output of `systemctl status` (which is usefull
when checking what is running on a server), remove the need of
enable-linger (which is always good when possible) and allows to check
the status of the service much more easily.

(It also enable more sandboxing options if wanted but we don't enable
any in this commit.)
2021-11-24 11:28:23 +01: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 0b528f15da tomcat-instance: fail if uid already exists 2020-12-17 08:06:44 +01:00
Jérémy Lecour 27e217467e Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
Jérémy Lecour bd8644ae60 whitespaces 2019-05-14 14:03:03 +02:00
Jérémy Lecour 3cbb65ea8d whitespaces 2018-04-04 23:21:31 +02:00
Victor LABORIE 4237a4fb21 tomcat-instance: move handler in tasks 2017-07-07 11:35:20 +02:00
Jérémy Lecour d2eeb3ba69 evoacme/tomcat: check if /etc/aliases exists 2017-05-21 23:34:34 +02:00
Jérémy Lecour 36db563a8a Use symbolic permissions for setgid bit 2017-05-21 19:33:52 +02:00
Victor LABORIE f7d886f03d tomcat-instance: fix instance home dir right 2017-04-21 12:12:13 +02:00
Jérémy Lecour 294cea44e8 Change mode with leading 0, but still as String 2017-03-23 16:59:43 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Victor LABORIE 04ccca18f2 init tomcat-instance role 2017-01-03 12:41:22 +01:00