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

13 lines
271 B
YAML
Raw Normal View History

2020-05-18 13:51:01 +02:00
---
- name: Verify
hosts: all
become: yes
gather_facts: yes
tasks:
- name: check that bogus options are in
command: grep 'a=1' /etc/default/grub
- name: check that selected option is in
command: grep 'cgroup_enable=memory' /etc/default/grub