Skip to content
Snippets Groups Projects
Commit 5366d12a authored by nimrod's avatar nimrod
Browse files

- Validate config as a task (Ansible's validate requires specifying the config file).

parent 7130aa94
No related branches found
No related tags found
No related merge requests found
......@@ -67,10 +67,13 @@
owner: root
group: root
mode: 0o0644
validate: mysqld --help --verbose
notify:
- Restart MySQL
- name: Validate config
command: mysqld --help --verbose
changed_when: False
- name: Enable service
service:
name: mysql
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment