ansible-skoleni/setup.yml
2025-03-27 13:34:31 +01:00

38 lines
720 B
YAML

---
name: Setup my system
hosts: all
tasks:
- name: Setup user
user:
name: fr
shell: /bin/bash
groups:
- dialout
- wheel
- docker
- libvirt
- name: Set bash as default shell for root
user:
name: root
shell: /bin/bash
- name: Software
tasks:
- name: Add non-free voidlinux repository
community.general.xbps:
name: void-repo-nonfree
state: present
- name: Upgrade all packages
community.general.xbps:
upgrade: true
# install packages here
- name: Clear xbps cache
command: 'xbps-remove -O'
- name: Purge old kernels
command: 'vkpurge rm all'