🚨: fix ansible-lint
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m29s
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m29s
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
- name: Check if .my.cnf file exists
|
||||
ansible.builtin.stat:
|
||||
path: /root/.my.cnf
|
||||
register: dot_my_cnf
|
||||
register: mariadb_dot_my_cnf
|
||||
|
||||
- name: Set root password
|
||||
community.mysql.mysql_user:
|
||||
@@ -44,7 +44,7 @@
|
||||
host: localhost
|
||||
name: root
|
||||
password: "{{ mariadb_root_pass }}"
|
||||
when: not dot_my_cnf.stat.exists
|
||||
when: not mariadb_dot_my_cnf.stat.exists
|
||||
|
||||
- name: Put .my.cnf file
|
||||
ansible.builtin.template:
|
||||
|
Reference in New Issue
Block a user