Fix more linter issues
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Adrien Reslinger 2022-11-30 07:50:26 +01:00
parent 43ebb7b044
commit 93584a602d
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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: