Jérémy Lecour
a999ac20da
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2765|8|2757|12|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/229//ansiblelint">Evolix » ansible-roles » unstable #229</a>
gitea/ansible-roles/pipeline/head This commit looks good
27 lines
837 B
YAML
27 lines
837 B
YAML
---
|
|
- name: Check tomcat_instance_name
|
|
ansible.builtin.debug:
|
|
msg: "{{ tomcat_instance_name }}"
|
|
|
|
- name: Check use of gid
|
|
ansible.builtin.command:
|
|
cmd: id -ng "{{ tomcat_instance_port }}"
|
|
register: check_port_gid
|
|
changed_when: False
|
|
failed_when:
|
|
- check_port_gid | success
|
|
- check_port_gid.stdout != "{{ tomcat_instance_name }}"
|
|
|
|
- name: Check use of uid
|
|
ansible.builtin.command:
|
|
cmd: id -nu "{{ tomcat_instance_port }}"
|
|
register: check_port_uid
|
|
changed_when: False
|
|
failed_when:
|
|
- check_port_uid | success
|
|
- check_port_uid.stdout != "{{ tomcat_instance_name }}"
|
|
|
|
#- name: Check use of http port
|
|
# ansible.builtin.command:
|
|
# cmd: grep '<Connector port="{{ tomcat_instance_port }}" protocol="HTTP/1.1"' $(ls {{ tomcat_instance_root }}/*/conf/server.xml|grep -v {{ tomcat_instance_name }})
|