Make new version of ansible-lint happy

This commit is contained in:
Faustin Lammler 2022-08-25 17:38:31 +02:00
parent a2610f40e9
commit ccc50d76a3
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
4 changed files with 5 additions and 5 deletions

View File

@ -22,12 +22,12 @@ repos:
name: Check python (flake8) name: Check python (flake8)
args: ["--ignore=E501,E226"] args: ["--ignore=E501,E226"]
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3 rev: v1.27.1
hooks: hooks:
- id: yamllint - id: yamllint
name: Check yaml files (yamllint) name: Check yaml files (yamllint)
- repo: https://github.com/ansible/ansible-lint.git - repo: https://github.com/ansible/ansible-lint.git
rev: v6.3.0 rev: v6.5.1
hooks: hooks:
- id: ansible-lint - id: ansible-lint
name: Check ansible files (ansible-lint) name: Check ansible files (ansible-lint)

View File

@ -1,5 +1,5 @@
--- ---
- name: restart mariadb - name: Restart mariadb
ansible.builtin.service: ansible.builtin.service:
name: mariadb name: mariadb
state: restarted state: restarted

View File

@ -6,7 +6,7 @@ galaxy_info:
role_name: mariadb role_name: mariadb
description: MariaDB server for Debian/Ubuntu. description: MariaDB server for Debian/Ubuntu.
license: license GPL-3.0-only license: license GPL-3.0-only
min_ansible_version: 2.8 min_ansible_version: "2.8"
github_branch: main github_branch: main
platforms: platforms:
- name: Debian - name: Debian

View File

@ -7,7 +7,7 @@
group: root group: root
mode: 0644 mode: 0644
force: "{{ mariadb_overwrite_global_config_file }}" force: "{{ mariadb_overwrite_global_config_file }}"
notify: restart mariadb notify: Restart mariadb
- name: Create datadir if it does not exist - name: Create datadir if it does not exist
ansible.builtin.file: ansible.builtin.file: