diff options
Diffstat (limited to 'clarkzjw.ca/config/atlas/roles')
-rw-r--r-- | clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml | 8 | ||||
-rw-r--r-- | clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml b/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml index 845af8d..4cfc23d 100644 --- a/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml +++ b/clarkzjw.ca/config/atlas/roles/debian_init/tasks/main.yaml | |||
@@ -39,12 +39,18 @@ | |||
39 | - name: Install ZFS | 39 | - name: Install ZFS |
40 | apt: | 40 | apt: |
41 | name: | 41 | name: |
42 | - linux-headers-amd64 | 42 | - linux-headers-{{ ansible_kernel }} |
43 | - zfsutils-linux | 43 | - zfsutils-linux |
44 | - zfs-dkms | ||
44 | update_cache: true | 45 | update_cache: true |
45 | fail_on_autoremove: yes | 46 | fail_on_autoremove: yes |
46 | default_release: "{{ ansible_distribution_release | lower }}-backports" | 47 | default_release: "{{ ansible_distribution_release | lower }}-backports" |
47 | 48 | ||
49 | - name: Load zfs kernel module | ||
50 | modprobe: | ||
51 | name: zfs | ||
52 | state: present | ||
53 | |||
48 | - name: Clean unneeded packages | 54 | - name: Clean unneeded packages |
49 | apt: | 55 | apt: |
50 | autoremove: true | 56 | autoremove: true |
diff --git a/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml b/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml index eb3f03b..cc69403 100644 --- a/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml +++ b/clarkzjw.ca/config/atlas/roles/init/tasks/main.yaml | |||
@@ -16,3 +16,9 @@ | |||
16 | name: clarkzjw | 16 | name: clarkzjw |
17 | groups: wheel | 17 | groups: wheel |
18 | append: yes | 18 | append: yes |
19 | |||
20 | - name: Set authorized keys taken from url | ||
21 | authorized_key: | ||
22 | user: clarkzjw | ||
23 | state: present | ||
24 | key: https://github.com/clarkzjw.keys | ||