From 90090f4bc94c3a0378966f34861f94393b6658f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Thu, 28 Nov 2019 13:50:52 +0100 Subject: [PATCH] Don't add keys to root by default --- roles/ubuntu_base/tasks/users.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/ubuntu_base/tasks/users.yml b/roles/ubuntu_base/tasks/users.yml index 1608901..82a787d 100644 --- a/roles/ubuntu_base/tasks/users.yml +++ b/roles/ubuntu_base/tasks/users.yml @@ -13,9 +13,3 @@ user: "{{ item.key }}" key: "{{ item.value.key }}" with_dict: "{{ users | default({}) }}" - -- name: "Add ssh authorized_keys to root user" - authorized_key: - user: "root" - key: "{{ item.value.key }}" - with_dict: "{{ users | default({}) }}"