From e10d4b7945a60044dd1beb50a67188cb91c17ab4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 23 Jun 2022 19:43:51 +0200 Subject: inital commit --- tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tasks/main.yml (limited to 'tasks/main.yml') diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..7735f17 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,9 @@ +--- +- name: Disable PasswordAuthentication + lineinfile: + path: /etc/ssh/sshdd_config + regexp: "^[#]? PasswordAuthentication" + line: "PasswordAuthentication no" + tags: + - ssh + -- cgit v1.2.3