Fix more linter issues
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
43ebb7b044
commit
93584a602d
2 changed files with 4 additions and 3 deletions
|
|
@ -29,7 +29,7 @@
|
||||||
dest: /etc/default/grub
|
dest: /etc/default/grub
|
||||||
regexp: '^(GRUB_CMDLINE_LINUX=".*)"$'
|
regexp: '^(GRUB_CMDLINE_LINUX=".*)"$'
|
||||||
line: '\1 cgroup_enable=memory swapaccount=1"'
|
line: '\1 cgroup_enable=memory swapaccount=1"'
|
||||||
backrefs: yes
|
backrefs: true
|
||||||
when:
|
when:
|
||||||
- not docker_installed.stat.exists
|
- not docker_installed.stat.exists
|
||||||
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
- not docker_installed.stat.exists
|
- not docker_installed.stat.exists
|
||||||
|
|
||||||
- name: Check whether ufw status is active
|
- name: Check whether ufw status is active
|
||||||
ansible.builtin.shell: ufw status
|
ansible.builtin.command: ufw status
|
||||||
changed_when: false
|
changed_when: false
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
register: ufw_check
|
register: ufw_check
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,8 @@
|
||||||
#
|
#
|
||||||
# - port TCP et UDP 7946: permet la communication entre les machines du swarm
|
# - port TCP et UDP 7946: permet la communication entre les machines du swarm
|
||||||
#
|
#
|
||||||
# - interfaces docker0 and docker_gwbridge ? firewall-cmd --change-zone=docker0 --zone=trusted --permanent; firewall-cmd --change-zone=docker_gwbridge --zone=trusted --permanent
|
# - interfaces docker0 and docker_gwbridge ?
|
||||||
|
# firewall-cmd --change-zone=docker0 --zone=trusted --permanent; firewall-cmd --change-zone=docker_gwbridge --zone=trusted --permanent
|
||||||
|
|
||||||
- name: Install python library for docker
|
- name: Install python library for docker
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue