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
30 lines
833 B
YAML
30 lines
833 B
YAML
---
|
|
|
|
- name: check if /etc/init.d/alert5 exists
|
|
ansible.builtin.stat:
|
|
path: /etc/init.d/alert5
|
|
register: initd_alert5
|
|
|
|
- name: Uncomment minifirewall start line
|
|
ansible.builtin.replace:
|
|
dest: /etc/init.d/alert5
|
|
regexp: '^#/etc/init.d/minifirewall start'
|
|
replace: '/etc/init.d/minifirewall start'
|
|
when:
|
|
- initd_alert5.stat.exists
|
|
- minifirewall_autostart | bool
|
|
|
|
- name: check if /usr/share/scripts/alert5 exists
|
|
ansible.builtin.stat:
|
|
path: /usr/share/scripts/alert5.sh
|
|
register: usr_share_scripts_alert5
|
|
|
|
- name: Uncomment minifirewall start line
|
|
ansible.builtin.replace:
|
|
dest: /usr/share/scripts/alert5.sh
|
|
regexp: '^#/etc/init.d/minifirewall start'
|
|
replace: '/etc/init.d/minifirewall start'
|
|
when:
|
|
- usr_share_scripts_alert5.stat.exists
|
|
- minifirewall_autostart | bool
|