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
5138065059
Use 'loop' syntax instead of 'with_items'
2021-05-04 14:19:18 +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
Victor LABORIE
aebd46e4d7
tomcat-instance: deploy correct version of config files
2019-03-06 15:52:56 +01:00
Victor LABORIE
346e556049
tomcat-instance: deploy correct version of server.xml
2019-02-20 11:29:11 +01:00
Jérémy Lecour
3cbb65ea8d
whitespaces
2018-04-04 23:21:31 +02:00
Victor LABORIE
61685dfa40
tomcat-instance: fix default vars
2017-07-07 12:12:05 +02:00
Victor LABORIE
4237a4fb21
tomcat-instance: move handler in tasks
2017-07-07 11:35:20 +02:00
Victor LABORIE
c3db08e6db
Split tomcat-instance in tomcat + tomcat-instance
2017-07-03 17:37:06 +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
da9b82f694
tomcat: whitespaces + syntax
2017-05-21 21:02:48 +02:00
Jérémy Lecour
36db563a8a
Use symbolic permissions for setgid bit
2017-05-21 19:33:52 +02:00
Jérémy Lecour
8772983746
Replace shell with command or disable warnings
2017-05-21 19:33:16 +02:00
Jérémy Lecour
1b24815491
whitespaces
2017-05-21 19:32:25 +02:00
Victor LABORIE
30cf02c6d4
tomcat-instance: deploy all conf from ansible
2017-05-10 17:08:55 +02:00
Victor LABORIE
a90f59fc78
tomcat-instance: fix right of copied tomcat conf
2017-04-21 15:14:56 +02:00
Victor LABORIE
f7d886f03d
tomcat-instance: fix instance home dir right
2017-04-21 12:12:13 +02:00
Victor LABORIE
6d017e8470
tomcat-instance: fix .profile owner and group
2017-04-04 16:21:34 +02:00
Jérémy Lecour
5b2ab0d8d3
Ansible >= 2.2 supported
2017-03-24 14:15:09 +01:00
Jérémy Lecour
294cea44e8
Change mode with leading 0, but still as String
2017-03-23 16:59:43 +01:00
Victor LABORIE
483d3a8a9e
tomcat-instance: bootstrap instance are idempotent
2017-03-02 17:22:33 +01:00
Victor LABORIE
acb4fb9d99
tomcat-instance fix check|success
2017-02-06 13:28:04 +01:00
Jérémy Lecour
9ba7c66f5f
a bit of syntax
2017-01-31 11:47:29 +01:00
Jérémy Lecour
8920ff1ee4
Add "always_run: yes" where it's pertinent
...
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour
6b8a51a18e
tomcat-instances: variables are mandatory
2017-01-13 09:50:01 +01:00
Jérémy Lecour
5a7a561cca
Remount /usr only if it is a dedicated partition
2017-01-12 16:23:48 +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
52b643a1a1
tomcat-instance: deploy nagios check
2017-01-04 16:04:15 +01:00
Victor LABORIE
f748b54df4
tomcat-instance: always run shell check
2017-01-04 15:47:53 +01:00
Victor LABORIE
04ccca18f2
init tomcat-instance role
2017-01-03 12:41:22 +01:00