FIX: Syntax error in SSH hardening playbook
[ta/infra-ansible.git] / roles / ssh_conf_hardening / tasks / main.yaml
index 256620c..cfc4425 100644 (file)
 
 - name: "Limit interactive session count to 2"
   ssh_conf:
-    regexp: '[\s]*MaxSessions"
+    regexp: '[\s]*MaxSessions'
     values: "MaxSessions 2\n"
 
 - name: Banner creation
     name: sshd
     state: restarted
 
-- name : create a banner file
+- name: create a banner file
   lineinfile:
     path: /etc/banner
     create: yes