From beef269d4612fa9cef67c2d86e9acd6e4dda52d6 Mon Sep 17 00:00:00 2001 From: Mans Matulewicz Date: Wed, 13 Dec 2017 18:37:01 +0100 Subject: [PATCH] Update mount.py (#23906) added noauto to dvd mount example, simply copy pasting + removed (virtual) optical disc will result in a non booting system (centos7) --- lib/ansible/modules/system/mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/mount.py b/lib/ansible/modules/system/mount.py index fa53fe51fd..f668362996 100644 --- a/lib/ansible/modules/system/mount.py +++ b/lib/ansible/modules/system/mount.py @@ -104,7 +104,7 @@ EXAMPLES = ''' path: /mnt/dvd src: /dev/sr0 fstype: iso9660 - opts: ro + opts: ro,noauto state: present - name: Mount up device by label