Jérémy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
16 lines
464 B
YAML
16 lines
464 B
YAML
---
|
|
- name: Enable systemd user mode
|
|
ansible.builtin.command:
|
|
cmd: "loginctl enable-linger {{ tomcat_instance_name }}"
|
|
changed_when: False
|
|
|
|
- name: Set systemd conf var
|
|
ansible.builtin.lineinfile:
|
|
dest: "{{ tomcat_instance_root }}/{{ tomcat_instance_name }}/.profile"
|
|
state: present
|
|
owner: "{{ tomcat_instance_name }}"
|
|
group: "{{ tomcat_instance_name }}"
|
|
mode: "0640"
|
|
create: yes
|
|
line: 'export XDG_RUNTIME_DIR=/run/user/$UID'
|