ansible-role-grub/molecule/default/verify.yml

15 lines
328 B
YAML
Raw Normal View History

2020-05-18 13:51:01 +02:00
---
- name: Verify
hosts: all
become: yes
2020-09-17 08:06:56 +02:00
gather_facts: no
2020-05-18 13:51:01 +02:00
tasks:
- name: check that bogus options are in
2021-05-27 13:23:15 +02:00
ansible.builtin.command:
cmd: grep 'a=1' /etc/default/grub
2020-05-18 13:51:01 +02:00
- name: check that selected option is in
2021-05-27 13:23:15 +02:00
ansible.builtin.command:
cmd: grep 'cgroup_enable=memory' /etc/default/grub