Commit e2c4882d authored by Staf Wagemakers's avatar Staf Wagemakers
Browse files

fixed ansible lint error: set -o pipefail added.

parent 4058ee42
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
---
- name: Get the list of mounted filesystems
  shell: cat /proc/mounts | awk '{ print $2}' | grep -E "^{{ mounted_fs }}"
  shell: set -o pipefail && cat /proc/mounts | awk '{ print $2}' | grep -E "^{{ mounted_fs }}"
  register: get_mounted_filesystems
  args:
    executable: /bin/bash
  failed_when: False
  changed_when: get_mounted_filesystems.stdout | length > 0