We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c53cd6 commit 0363030Copy full SHA for 0363030
ansible/roles/sshd/tasks/configure.yml
@@ -10,12 +10,13 @@
10
mode: 700
11
become: true
12
13
-- name: Ensure drop in directory is included
+- name: Ensure drop in configuration is included
14
blockinfile:
15
dest: /etc/ssh/sshd_config
16
- content: |
17
- # To modify the system-wide sshd configuration, create a *.conf file under
18
- # /etc/ssh/sshd_config.d/ which will be automatically included below
+ content: |
+ # To modify the system-wide sshd configuration, create <custom>.conf
+ # files under /etc/ssh/sshd_config.d/ which will be automatically
19
+ # included below.
20
Include /etc/ssh/sshd_config.d/*.conf
21
state: present
22
insertafter: "# default value."
0 commit comments