👷 Fix linter

dependabot/pip/requests-2.32.2
Emilien Mantel 2024-08-26 17:42:14 +02:00 committed by Emilien M
parent bd8f9604f7
commit 38c1701310
3 changed files with 4 additions and 2 deletions

View File

@ -8,3 +8,5 @@ exclude_paths:
- venv/
- tests/ # TODO: Remove this line when tests are migrated to molecule
- .github/
offline: false

View File

@ -4,7 +4,7 @@
hosts: all
gather_facts: false
tasks:
- name: COMMAND | Check if mariadb is running
- name: COMMAND | Check if mariadb is running # noqa: command-instead-of-module
ansible.builtin.command: "systemctl is-active mariadb"
register: mariadb_is_running
changed_when: false

View File

@ -19,7 +19,7 @@
- name: INCLUDE | Install
ansible.builtin.import_tasks: install/main.yml
- name: SHELL | Get current mariadb version
- name: SHELL | Get current mariadb version # noqa: risky-shell-pipe
ansible.builtin.shell: dpkg -l mariadb-common | awk '/^ii/ { print $3 }' | sed -r 's/^1://g; s/^([[:digit:]]+\.[[:digit:]]+).+$/\1/g'
register: __mariadb_version
changed_when: false