homelab/roles/base/tasks/system.yml

11 lines
234 B
YAML
Raw Normal View History

2020-07-10 01:54:15 +00:00
- name: Install useful software
apt:
2020-08-15 22:14:45 +00:00
name: "{{ packages }}"
2020-07-10 01:54:15 +00:00
state: present
- name: Manage root authorized_keys
template:
src: authorized_keys.j2
dest: /root/.ssh/authorized_keys
when: authorized_keys is defined