aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/sshd.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/tasks/sshd.yml')
-rw-r--r--roles/space_server/tasks/sshd.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/space_server/tasks/sshd.yml b/roles/space_server/tasks/sshd.yml
index efbfa97..aaf6452 100644
--- a/roles/space_server/tasks/sshd.yml
+++ b/roles/space_server/tasks/sshd.yml
@@ -4,7 +4,7 @@
name: openssh-server
state: present
tags:
- - packages
+ - packages
- name: Configure sshd
lineinfile:
@@ -12,12 +12,12 @@
regexp: '{{ item.regexp }}'
line: '{{ item.line }}'
with_items:
- - regexp: '^PasswordAuthentication'
- line: 'PasswordAuthentication no'
- - regexp: '^#*GSSAPIAuthentication'
- line: 'GSSAPIAuthentication no'
+ - regexp: '^PasswordAuthentication'
+ line: 'PasswordAuthentication no'
+ - regexp: '^#*GSSAPIAuthentication'
+ line: 'GSSAPIAuthentication no'
notify:
- - restart sshd
+ - restart sshd
- name: Enable sshd service
systemd: