This commit is contained in:
Gergely Polonkai 2024-08-12 21:10:36 +02:00
parent e2ef379a6e
commit 2a0170dbf9
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
6 changed files with 111 additions and 17 deletions

2
ansible.cfg Normal file
View File

@ -0,0 +1,2 @@
[defaults]
deprecation_warnings = False

View File

@ -1,11 +1,12 @@
---
- import_playbook: playbooks/dnf-repos.yml hostlist=machina
- import_playbook: playbooks/user.yml hostlist=machina
#- import_playbook: playbooks/dnf-repos.yml hostlist=machina
#- import_playbook: playbooks/user.yml hostlist=machina
- import_playbook: playbooks/packages.yml hostlist=machina
- import_playbook: playbooks/python.yml hostlist=machina
- import_playbook: playbooks/npm.yml hostlist=machina
- import_playbook: playbooks/user.yml hostlist=machina
- import_playbook: playbooks/spotify-install.yml hostlist=machina
- import_playbook: playbooks/systemd-user.yml hostlist=machina
- import_playbook: playbooks/cjdns.yml hostlist=machina
- import_playbook: playbooks/configs.yml hostlist=machina
#- import_playbook: playbooks/systemd.yml hostlist=machina
#- import_playbook: playbooks/python.yml hostlist=machina
#- import_playbook: playbooks/npm.yml hostlist=machina
#- import_playbook: playbooks/user.yml hostlist=machina
#- import_playbook: playbooks/spotify-install.yml hostlist=machina
#- import_playbook: playbooks/systemd-user.yml hostlist=machina
#- import_playbook: playbooks/cjdns.yml hostlist=machina
#- import_playbook: playbooks/configs.yml hostlist=machina

View File

@ -22,8 +22,3 @@
dnf:
name: "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ansible_distribution_major_version}}.noarch.rpm"
state: present
- name: Enable the skidnik/termite repo
become: true
community.general.copr:
name: "skidnik/termite"
state: enabled

View File

@ -3,8 +3,15 @@
- name: Install Ansible
become: true
dnf:
name: ansible
name:
- ansible
- ansible-collection-community-general
state: latest
- name: Install base packages and drivers
become: true
dnf:
name:
- akmod-v4l2loopback
- name: Install some daemons
become: true
dnf:
@ -15,11 +22,22 @@
- libvirt-daemon
- libvirt-daemon-kvm
- postgresql-server
- zeromq
- redis
- mariadb-server
- memcached
- bind
- pipewire
- mosquitto
- abrt
- abrt-addon-ccpp
- abrt-addon-kerneloops
- abrt-addon-upload-watch
- abrt-addon-vmcore
- abrt-dbus
- abrt-plugin-bodhi
- abrt-plugin-machine-id
- abrt-retrace-client
- hostapd
state: latest
- name: Install Emacs
become: true
@ -44,6 +62,7 @@
- the_silver_searcher
- pass
- pass-otp
- pass-pwned
- vim-enhanced
- bat
- git
@ -72,6 +91,23 @@
- pwgen
- libvirt-client
- youtube-dl
- fedora-review
- copr-cli
- cowsay
- pciutils
- usbutils
- pilot-link
- pipewire-utils
- lsof
- lynx
- minicom
- mosh
- nmap
- rtorrent
- abrt-tui
- net-tools
- console-setup
- iw
state: latest
- name: Install development stuff
become: true
@ -107,6 +143,19 @@
- hadolint
- ShellCheck
- strace
- ampy
- asciidoc
- avahi-tools
- avahi-ui-gtk3
- avahi-ui-tools
- gperftools
- httpie
- indent
- scratch
- uncrustify
- wev
- cabal-install
- gtk-doc
state: latest
- name: Install my desktop environment
become: true
@ -134,6 +183,7 @@
- grimshot
- gnome-keyring
- gnome-keyring-pam
- emoji-picker
state: latest
- name: Install my graphical applications
become: true
@ -149,7 +199,9 @@
- openscad
- libreoffice
- gimp
- gimp-data-extras
- gimagereader-gtk
- gmic-gimp
- blender
- audacity
- virt-manager
@ -161,6 +213,15 @@
- dia
- lmms
- seahorse
- imv
- mumble
- pgadmin3
- scribus
- abrt-gui
- firewall-config
- nm-connection-editor
- obs-studio
- thunderbird-wayland
state: latest
- name: Install some games
become: true
@ -170,6 +231,9 @@
- warsow
- widelands
- steam
- puzzles
- freeciv
- openttd
state: latest
- name: Install language packs
become: true

32
playbooks/systemd.yml Normal file
View File

@ -0,0 +1,32 @@
- hosts: "{{ hostlist }}"
tasks:
- name: Enable abrtd services
become: true
systemd:
name: abrtd.service
enabled: true
state: started
- name: Enable abrtd services
become: true
systemd:
name: abrt-journal-core.service
enabled: true
state: started
- name: Enable abrtd services
become: true
systemd:
name: abrt-oops
enabled: true
state: started
- name: Enable abrtd services
become: true
systemd:
name: abrt-upload-watch
enabled: true
state: started
- name: Enable abrtd services
become: true
systemd:
name: abrt-vmcore
enabled: true
state: started

View File

@ -12,5 +12,5 @@
become: true
user:
name: polesz
groups: cdrom,dialout,games,kvm,libvirt,pkg-build,printadmin,video,wheel
groups: abrt,audio,cdrom,dialout,games,kvm,libvirt,mock,pkg-build,printadmin,qemu,video,wheel
append: true