Created
March 27, 2014 13:37
-
-
Save extraordinaire/9807715 to your computer and use it in GitHub Desktop.
Ansible remount root with ACL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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