notes
This commit is contained in:
parent
450d60cd46
commit
63116af524
@ -18,9 +18,9 @@ all:
|
|||||||
ansible_host: node2.balsillie.net
|
ansible_host: node2.balsillie.net
|
||||||
node3:
|
node3:
|
||||||
ansible_host: node3.balsillie.net
|
ansible_host: node3.balsillie.net
|
||||||
hosts:
|
hosts:
|
||||||
router:
|
router:
|
||||||
ansible_host: router.balsillie.net
|
ansible_host: router.balsillie.net
|
||||||
workstations:
|
workstations:
|
||||||
children:
|
children:
|
||||||
arch:
|
arch:
|
||||||
@ -30,5 +30,6 @@ all:
|
|||||||
sff:
|
sff:
|
||||||
ansible_host: sff.balsillie.net
|
ansible_host: sff.balsillie.net
|
||||||
windows:
|
windows:
|
||||||
bridie:
|
hosts:
|
||||||
ansible_host: bridie.balsillie.net
|
bridie:
|
||||||
|
ansible_host: bridie.balsillie.net
|
@ -14,23 +14,37 @@
|
|||||||
name:
|
name:
|
||||||
- base-devel
|
- base-devel
|
||||||
- git
|
- git
|
||||||
|
- pyalpm
|
||||||
|
- python-docutils
|
||||||
|
- python-future
|
||||||
|
- python-commonmark
|
||||||
state: latest
|
state: latest
|
||||||
update_cache: true
|
update_cache: true
|
||||||
reason: explicit
|
reason: explicit
|
||||||
|
|
||||||
- name: clone git repo
|
- name: clone git repo
|
||||||
|
become: false
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: 'https://aur.archlinux.org/pikaur.git'
|
repo: 'https://aur.archlinux.org/pikaur.git'
|
||||||
dest: /git/pikaur
|
dest: /git/pikaur
|
||||||
depth: 1
|
depth: 1
|
||||||
single_branch: yes
|
single_branch: yes
|
||||||
|
|
||||||
- name: make/install pikaur
|
- name: make pikaur package
|
||||||
|
become: false
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: makepkg -fsri
|
cmd: makepkg
|
||||||
chdir: /git/pikaur/
|
chdir: /git/pikaur/
|
||||||
|
creates: pikaur-1.11-1-any.pkg.tar.zst
|
||||||
|
|
||||||
|
- name: install built pikaur package
|
||||||
|
become: true
|
||||||
|
community.general.pacman:
|
||||||
|
name: /git/pikaur/pikaur-1.11-1-any.pkg.tar.zst
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: update AUR cache
|
- name: update AUR cache
|
||||||
|
become: true
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
executable: pikaur
|
executable: pikaur
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: Install ZFS DKMS module
|
- name: Install ZFS DKMS module
|
||||||
community.general.pacman:
|
become: true
|
||||||
name:
|
ansible.builtin.shell:
|
||||||
- zfs-dkms
|
cmd: pikaur -S zfs-dkms --noconfirm
|
||||||
state: latest
|
executable: /usr/bin/bash
|
||||||
executable: pikaur
|
|
||||||
update_cache: true
|
# install linux-lts-headers first
|
||||||
reason: explicit
|
# add a gpg signing key, import and lsign the AUR key below
|
||||||
|
# https://gist.github.com/woods/8970150
|
||||||
|
# zfs-dkms AUR key 6AD860EED4598027 / 4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027
|
||||||
|
|
||||||
|
set zfs params (ARC)
|
||||||
|
modprobe zfs
|
||||||
|
set module to start at boot
|
||||||
|
Loading…
Reference in New Issue
Block a user