Skip to content

Instantly share code, notes, and snippets.

@extraordinaire
Created March 27, 2014 13:37
Show Gist options
  • Save extraordinaire/9807715 to your computer and use it in GitHub Desktop.
Save extraordinaire/9807715 to your computer and use it in GitHub Desktop.
Ansible remount root with ACL
- name: remount root with acl
when: item.mount == "/" and not item.options|search("acl")
mount:
name=/
fstype=ext4
opts=acl,rw,errors=remount-ro
src=item.device
state=mounted
with_items: ansible_mounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment