Compare commits

...

3 Commits

Author SHA1 Message Date
Gergely Polonkai e2ef379a6e
Add more packages 2021-04-19 05:00:24 +02:00
Gergely Polonkai 0e03b128c8
Add config for the Kerberos client 2021-04-19 04:59:51 +02:00
Gergely Polonkai 57610b5158
Add the acl and attr packages 2021-04-08 15:39:21 +02:00
5 changed files with 69 additions and 1 deletions

View File

@ -8,3 +8,4 @@
- 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

18
playbooks/configs.yml Normal file
View File

@ -0,0 +1,18 @@
- hosts: "{{ hostlist }}"
tasks:
- name: Install the Kerberos domain configuration for polonkai.eu
become: true
copy:
src: templates/krb5.conf.d-polonkai.eu
dest: /etc/krb5.conf.d/polonkai.eu
owner: root
group: root
mode: 0644
- name: Update the main Kerberos configuration file
become: true
copy:
src: templates/krb5.conf
dest: /etc/krb5.conf
owner: root
group: root
mode: 0644

View File

@ -13,6 +13,7 @@
- avahi
- cups
- libvirt-daemon
- libvirt-daemon-kvm
- postgresql-server
- zeromq
- redis
@ -42,6 +43,7 @@
- zoxide
- the_silver_searcher
- pass
- pass-otp
- vim-enhanced
- bat
- git
@ -64,6 +66,12 @@
- whois
- asciinema
- bind-utils
- acl
- attr
- irssi
- pwgen
- libvirt-client
- youtube-dl
state: latest
- name: Install development stuff
become: true
@ -96,6 +104,9 @@
- meson
- ninja-build
- cmake
- hadolint
- ShellCheck
- strace
state: latest
- name: Install my desktop environment
become: true
@ -118,8 +129,11 @@
- chromium
- mplayer
- gajim
- youtube-dl
- wshowkeys
- pavucontrol
- grimshot
- gnome-keyring
- gnome-keyring-pam
state: latest
- name: Install my graphical applications
become: true
@ -142,6 +156,11 @@
- ImageMagick
- inkscape
- krita
- wine
- evince
- dia
- lmms
- seahorse
state: latest
- name: Install some games
become: true
@ -150,6 +169,7 @@
- minetest
- warsow
- widelands
- steam
state: latest
- name: Install language packs
become: true

View File

@ -0,0 +1,20 @@
includedir /etc/krb5.conf.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
dns_lookup_realm = true
dns_lookup_kdc = true
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
pkinit_anchors = FILE:/etc/pki/tls/certs/ca-bundle.crt
spake_preauth_groups = edwards25519
dns_canonicalize_hostname = fallback
qualify_shortname = ""
default_realm = POLONKAI.EU
default_ccache_name = KEYRING:persistent:%{uid}

View File

@ -0,0 +1,9 @@
[realms]
POLONKAI.EU = {
kdc = kerberos.polonkai.eu
admin_server = kerberos.polonkai.eu
}
[domain_realm]
.polonkai.eu = POLONKAI.EU
polonkai.eu = POLONKAI.EU