diff --git a/roles/pre-checks/tasks/main.yml b/roles/pre-checks/tasks/main.yml index 99e1134..2857b37 100644 --- a/roles/pre-checks/tasks/main.yml +++ b/roles/pre-checks/tasks/main.yml @@ -1,23 +1,23 @@ --- -- name: "Add flyingscorpio to the sudo group" +- name: Add flyingscorpio to the sudo group user: name: flyingscorpio become: true groups: sudo append: yes -- name: "Add flyingscorpio to the wheel group" +- name: Add flyingscorpio to the wheel group user: name: flyingscorpio become: true groups: wheel append: yes -- name: "Send public SSH key" +- name: Send public SSH key authorized_key: become: true ask-become-pass: true user: flyingscorpio state: present - key: "{{ lookup("file", "~/.ssh/id_ed25519_lime2.pub") }}" + key: {{ lookup("file", "~/.ssh/id_ed25519_lime2.pub") }}