Make new version of ansible-lint happy
This commit is contained in:
parent
a2610f40e9
commit
ccc50d76a3
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: restart mariadb
|
- name: Restart mariadb
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: mariadb
|
name: mariadb
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue