diff --git a/ssh-keys/tasks/non-root-ssh-keys.yml b/ssh-keys/tasks/non-root-ssh-keys.yml index aa2c9b9f..64688062 100644 --- a/ssh-keys/tasks/non-root-ssh-keys.yml +++ b/ssh-keys/tasks/non-root-ssh-keys.yml @@ -2,7 +2,6 @@ - name: Install the ssh keys for non root users authorized_key: user={{ item.0.name }} key="{{ item.1 }}" state=present when: - - authorized_keys is defined - non_root_users with_subelements: - ssh_users_list