dyindude / ubuntu-zfs

BSD 2-Clause "Simplified" License
8 stars 4 forks source link

mount command warning #9

Closed dyindude closed 6 years ago

dyindude commented 6 years ago
   virtualbox-iso: changed: [localhost] => (item=mount --rbind /sys /mnt/sys) => changed=true 
    virtualbox-iso:   cmd: mount --rbind /sys /mnt/sys
    virtualbox-iso:   delta: '0:00:00.013354'
    virtualbox-iso:   end: '2018-06-05 17:08:02.469240'
    virtualbox-iso:  [WARNING]: Consider using the mount module rather than running mount.  If you
    virtualbox-iso:   item: mount --rbind /sys /mnt/sys
    virtualbox-iso:   rc: 0
    virtualbox-iso:   start: '2018-06-05 17:08:02.455886'
    virtualbox-iso:   stderr: ''
    virtualbox-iso:   stderr_lines: []
    virtualbox-iso: need to use command because mount is insufficient you can add warn=False to
    virtualbox-iso: this command task or set command_warnings=False in ansible.cfg to get rid of
    virtualbox-iso:   stdout: ''
    virtualbox-iso: this message.

either implement recommended flag warn=False to the task, or reimplement with ansible mount