aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/sshd.yml
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-26 12:55:55 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-26 13:00:05 +0200
commit72e69659fe0a51bf2e61cebdb0b3c66ee9e564ba (patch)
tree75e17b22d32d3cce3149498ad1555800b12edd47 /roles/space_server/tasks/sshd.yml
parentae254b596f6e12601e0f6b206d09b87e5a9b480d (diff)
downloadlabitat-ansible-72e69659fe0a51bf2e61cebdb0b3c66ee9e564ba.tar.gz
labitat-ansible-72e69659fe0a51bf2e61cebdb0b3c66ee9e564ba.tar.xz
labitat-ansible-72e69659fe0a51bf2e61cebdb0b3c66ee9e564ba.zip
Format yaml lists like yaml.org
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: