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/dnf-repos.yml hostlist=machina
- import_playbook: playbooks/user.yml hostlist=machina #- import_playbook: playbooks/user.yml hostlist=machina
- import_playbook: playbooks/packages.yml hostlist=machina - import_playbook: playbooks/packages.yml hostlist=machina
- import_playbook: playbooks/python.yml hostlist=machina #- import_playbook: playbooks/systemd.yml hostlist=machina
- import_playbook: playbooks/npm.yml hostlist=machina #- import_playbook: playbooks/python.yml hostlist=machina
- import_playbook: playbooks/user.yml hostlist=machina #- import_playbook: playbooks/npm.yml hostlist=machina
- import_playbook: playbooks/spotify-install.yml hostlist=machina #- import_playbook: playbooks/user.yml hostlist=machina
- import_playbook: playbooks/systemd-user.yml hostlist=machina #- import_playbook: playbooks/spotify-install.yml hostlist=machina
- import_playbook: playbooks/cjdns.yml hostlist=machina #- import_playbook: playbooks/systemd-user.yml hostlist=machina
- import_playbook: playbooks/configs.yml hostlist=machina #- import_playbook: playbooks/cjdns.yml hostlist=machina
#- import_playbook: playbooks/configs.yml hostlist=machina

View File

@ -22,8 +22,3 @@
dnf: dnf:
name: "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ansible_distribution_major_version}}.noarch.rpm" name: "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ansible_distribution_major_version}}.noarch.rpm"
state: present 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 - name: Install Ansible
become: true become: true
dnf: dnf:
name: ansible name:
- ansible
- ansible-collection-community-general
state: latest state: latest
- name: Install base packages and drivers
become: true
dnf:
name:
- akmod-v4l2loopback
- name: Install some daemons - name: Install some daemons
become: true become: true
dnf: dnf:
@ -15,11 +22,22 @@
- libvirt-daemon - libvirt-daemon
- libvirt-daemon-kvm - libvirt-daemon-kvm
- postgresql-server - postgresql-server
- zeromq
- redis - redis
- mariadb-server - mariadb-server
- memcached - memcached
- bind - 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 state: latest
- name: Install Emacs - name: Install Emacs
become: true become: true
@ -44,6 +62,7 @@
- the_silver_searcher - the_silver_searcher
- pass - pass
- pass-otp - pass-otp
- pass-pwned
- vim-enhanced - vim-enhanced
- bat - bat
- git - git
@ -72,6 +91,23 @@
- pwgen - pwgen
- libvirt-client - libvirt-client
- youtube-dl - 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 state: latest
- name: Install development stuff - name: Install development stuff
become: true become: true
@ -107,6 +143,19 @@
- hadolint - hadolint
- ShellCheck - ShellCheck
- strace - strace
- ampy
- asciidoc
- avahi-tools
- avahi-ui-gtk3
- avahi-ui-tools
- gperftools
- httpie
- indent
- scratch
- uncrustify
- wev
- cabal-install
- gtk-doc
state: latest state: latest
- name: Install my desktop environment - name: Install my desktop environment
become: true become: true
@ -134,6 +183,7 @@
- grimshot - grimshot
- gnome-keyring - gnome-keyring
- gnome-keyring-pam - gnome-keyring-pam
- emoji-picker
state: latest state: latest
- name: Install my graphical applications - name: Install my graphical applications
become: true become: true
@ -149,7 +199,9 @@
- openscad - openscad
- libreoffice - libreoffice
- gimp - gimp
- gimp-data-extras
- gimagereader-gtk - gimagereader-gtk
- gmic-gimp
- blender - blender
- audacity - audacity
- virt-manager - virt-manager
@ -161,6 +213,15 @@
- dia - dia
- lmms - lmms
- seahorse - seahorse
- imv
- mumble
- pgadmin3
- scribus
- abrt-gui
- firewall-config
- nm-connection-editor
- obs-studio
- thunderbird-wayland
state: latest state: latest
- name: Install some games - name: Install some games
become: true become: true
@ -170,6 +231,9 @@
- warsow - warsow
- widelands - widelands
- steam - steam
- puzzles
- freeciv
- openttd
state: latest state: latest
- name: Install language packs - name: Install language packs
become: true 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 become: true
user: user:
name: polesz 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 append: true