mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-02-26 10:22:09 +07:00
👷 Fix linter
This commit is contained in:
committed by
Emilien M
parent
bd8f9604f7
commit
38c1701310
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user