Skip to content

Commit

Permalink
Merge pull request #12138 from mrkanon/ansible-no-tmux-in-shells
Browse files Browse the repository at this point in the history
Add ansible remediation for no_tmux_in_shells rule
  • Loading branch information
Mab879 authored Jul 9, 2024
2 parents 13faab8 + 30ffb33 commit 58727cb
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 58727cb

Please sign in to comment.