2022-10-27 04:12:06 +00:00
|
|
|
- name: Install packages
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- psmisc
|
2022-10-28 05:10:07 +00:00
|
|
|
- pkgfile
|
|
|
|
- linux-firmware
|
|
|
|
- bind # dig
|
2023-03-03 22:30:56 +00:00
|
|
|
- man-db
|
2023-04-23 20:19:16 +00:00
|
|
|
- uutils-coreutils
|
2022-10-27 04:12:06 +00:00
|
|
|
state: present
|
2022-10-28 05:10:07 +00:00
|
|
|
|
|
|
|
- name: Start pkgfile update service
|
|
|
|
systemd:
|
|
|
|
state: started
|
|
|
|
name: pkgfile-update.timer
|
|
|
|
daemon_reload: yes
|
|
|
|
enabled: yes
|
|
|
|
|
|
|
|
# Of questionable value since I don't use swap on my machines
|
|
|
|
- name: Configure sysctls for swap
|
|
|
|
sysctl:
|
|
|
|
name: "{{ item.name }}"
|
|
|
|
value: "{{ item.value }}"
|
|
|
|
state: present
|
|
|
|
sysctl_file: /etc/sysctl.d/swap.conf
|
2023-01-28 06:20:42 +00:00
|
|
|
loop:
|
2022-10-28 05:10:07 +00:00
|
|
|
- name: vm.swappiness
|
|
|
|
value: 10
|
|
|
|
|
|
|
|
- name: Install scripts
|
|
|
|
copy:
|
|
|
|
src: "files/{{ item.src }}"
|
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
mode: 0755
|
|
|
|
owner: root
|
|
|
|
group: wheel
|
|
|
|
loop:
|
|
|
|
- src: mount_disk_image
|
|
|
|
dest: /usr/local/bin/mount_disk_image
|
2023-07-03 16:54:10 +00:00
|
|
|
- src: watch_linux
|
|
|
|
dest: /usr/local/bin/ww
|