Only update kernel commandline to add quota on RHEL

Fedora amis are still ext4 based and ext4 doesn't like this flag.

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2017-09-29 12:03:28 -07:00
parent e838611fdd
commit a69ca59764

View file

@ -67,3 +67,4 @@
- name: Update the kernel cmdline to include quota support
command: grubby --update-kernel=ALL --args="rootflags=pquota"
when: ansible_distribution in ['RedHat', 'CentOS']