Skip to content

Commit

Permalink
Add ansible remediation
Browse files Browse the repository at this point in the history
For no_tmux_in_shells rule

Signed-off-by: Armando Acosta <[email protected]>
  • Loading branch information
mrkanon committed Jul 9, 2024
1 parent 4536240 commit 30ffb33
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# platform = multi_platform_all
# reboot = false
# strategy = restrict
# complexity = low
# disruption = low

- name: {{{ rule_title }}} - Ensure tmux line not exists
ansible.builtin.lineinfile:
path: /etc/shells
regex: 'tmux\s*$'
state: absent

0 comments on commit 30ffb33

Please sign in to comment.