Skip to content

Instantly share code, notes, and snippets.

@simensen
Created April 16, 2014 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simensen/11c0c38e00e2898ddcc1 to your computer and use it in GitHub Desktop.
Save simensen/11c0c38e00e2898ddcc1 to your computer and use it in GitHub Desktop.
- shell: 'OPTS=$(grep " / " /etc/mtab | awk "{print $4}"); if [[ ",$OPTS," != *",acl,"* ]]; then OPTS="${OPTS:+\"$OPTS,\"}acl"; fi; echo $OPTS' executable=/bin/bash
register: root_options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment