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
21 lines
721 B
YAML
21 lines
721 B
YAML
---
|
|
- name: restart minifirewall
|
|
ansible.builtin.command:
|
|
cmd: /etc/init.d/minifirewall restart
|
|
register: minifirewall_init_restart
|
|
failed_when:
|
|
- "'starting IPTables rules is now finish : OK' not in minifirewall_init_restart.stdout"
|
|
- "'minifirewall started' not in minifirewall_init_restart.stdout"
|
|
|
|
- name: 'created new jail'
|
|
ansible.builtin.command:
|
|
cmd: "bkctld restart {{ evolinux_hostname }}"
|
|
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
|
|
|
|
- name: 'jail updated'
|
|
ansible.builtin.command:
|
|
cmd: "bkctld restart {{ evolinux_hostname }}"
|
|
# - "bkctld sync {{ evolinux_hostname }}"
|
|
delegate_to: "{{ evobackup_client__hosts[0].ip }}"
|
|
when: evobackup_client__hosts | length > 1
|