-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow multiple file systems to be remounted
Merge branch 'alter-filesystem-remount-task' of https://github.com/goetzk/ansible-apt into feature/goetzk-alter-filesystem-remount-task closes #14
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// {{ ansible_managed }} | ||
|
||
DPkg { | ||
// Auto re-mounting of a noexec /tmp since some packages which require it | ||
// Auto re-mounting of a noexec /tmp since some packages desire exec | ||
Pre-Invoke { "mount -o remount,exec /tmp"; }; | ||
Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,exec /tmp || true"; }; | ||
Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,noexec /tmp || true"; }; | ||
}; |