2020-07-09 21:54:15 -04:00
|
|
|
- name: Install useful software
|
|
|
|
apt:
|
2020-08-15 18:14:45 -04:00
|
|
|
name: "{{ packages }}"
|
2020-07-09 21:54:15 -04:00
|
|
|
state: present
|
2020-09-21 17:41:32 -04:00
|
|
|
update_cache: true
|
2020-07-29 01:09:46 -04:00
|
|
|
|
|
|
|
- name: Manage root authorized_keys
|
|
|
|
template:
|
|
|
|
src: authorized_keys.j2
|
|
|
|
dest: /root/.ssh/authorized_keys
|
|
|
|
when: authorized_keys is defined
|
2020-09-01 12:56:27 -04:00
|
|
|
|
2021-06-24 00:37:12 -04:00
|
|
|
- name: Install btrfs-tools
|
|
|
|
apt:
|
|
|
|
name: btrfs-tools
|
|
|
|
state: present
|
|
|
|
when: btrfs_support is defined and btrfs_support | bool == true
|
|
|
|
|
2020-09-01 12:56:27 -04:00
|
|
|
- name: Manage filesystem mounts
|
|
|
|
mount:
|
|
|
|
path: "{{ item.path }}"
|
|
|
|
src: "UUID={{ item.uuid }}"
|
|
|
|
fstype: "{{ item.fstype }}"
|
|
|
|
state: mounted
|
|
|
|
loop: "{{ mounts }}"
|
|
|
|
when: mounts is defined
|