forked from ansible-lockdown/AMAZON2-CIS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel to main release (ansible-lockdown#27)
* ansible-lockdown#18 corrected Signed-off-by: Mark Bolwell <[email protected]> * updated due to ansible-lockdown#19 great catch Signed-off-by: Mark Bolwell <[email protected]> * V2.0.0 final release (ansible-lockdown#24) * removed warn: false Signed-off-by: Mark Bolwell <[email protected]> * fix typos Signed-off-by: Mark Bolwell <[email protected]> * addressed ansible-lockdown#21 Signed-off-by: Mark Bolwell <[email protected]> * updated 1.1.2 logic Signed-off-by: Mark Bolwell <[email protected]> * updated handler Signed-off-by: Mark Bolwell <[email protected]> --------- Signed-off-by: Mark Bolwell <[email protected]> * Correct 4.1.15 sudo audit syntax (ansible-lockdown#26) Signed-off-by: Andrew Davison <[email protected]> --------- Signed-off-by: Mark Bolwell <[email protected]> Signed-off-by: Andrew Davison <[email protected]> Co-authored-by: Andrew Davison <[email protected]> Signed-off-by: fortinm <[email protected]>
- Loading branch information
Showing
9 changed files
with
88 additions
and
49 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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## This file is managed by Ansible, YOUR CHANGED WILL BE LOST! | ||
|
||
|
||
[Unit] | ||
Description=Temporary Directory (/tmp) | ||
Documentation=man:hier(7) | ||
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems | ||
ConditionPathIsSymbolicLink=!/tmp | ||
DefaultDependencies=no | ||
Conflicts=umount.target | ||
Before=local-fs.target umount.target | ||
After=swap.target | ||
|
||
[Mount] | ||
What=tmpfs | ||
Where=/tmp | ||
Type=tmpfs | ||
Options=mode=1777,strictatime,{% if amazon2cis_rule_1_1_3 %}noexec,{% endif %}{% if amazon2cis_rule_1_1_4 %}nodev,{% endif %}{% if amazon2cis_rule_1_1_5 %}nosuid{% endif %} | ||
|
||
# Make 'systemctl enable tmp.mount' work: | ||
[Install] | ||
WantedBy=local-fs.target |