Skip to content

Commit

Permalink
Test ansible verify
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Feb 13, 2024
1 parent cb4706e commit 716bb9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
ansible.builtin.assert:
that:
- datadir.stat.isdir is true
- datadir.stat.pw_name == "{{ mariadb_user }}"
- datadir.stat.gr_name == "{{ mariadb_user }}"
- datadir.stat.pw_name == mariadb_user
- datadir.stat.gr_name == mariadb_user

- name: Register {{ mariadb_log_dir }}
ansible.builtin.stat:
Expand All @@ -59,8 +59,8 @@
ansible.builtin.assert:
that:
- logdir.stat.isdir is true
- logdir.stat.pw_name == "{{ mariadb_user }}"
- logdir.stat.gr_name == "{{ mariadb_user }}"
- logdir.stat.pw_name == mariadb_user
- logdir.stat.gr_name == mariadb_user

- name: Make sure that service is started
ansible.builtin.service:
Expand Down

0 comments on commit 716bb9f

Please sign in to comment.