Permalink
Browse files

Set up DigiKam+MariaDB

  • Loading branch information...
CNG committed Jun 10, 2018
1 parent e0d9672 commit e066103eb6aae9647d4fca81f4b2342e6d7708cc
@@ -291,7 +291,8 @@ packages:
- guvcview # webcam record
- losslesscut # video trim
- darktable
- digikam
- [ digikam-without-akonadi-mediawiki-vkontakte, mariadb, kipi-plugins ]
- entangle # camera tethering
- flac2all
- xsane-gimp
- iscan-plugin-gt-x820 # Epson V600 scanner
@@ -0,0 +1,4 @@
[Service]

ProtectHome=false

@@ -14,4 +14,4 @@
state=link

- name: Install GIMP raw support
pacman: name=gimp-ufraw state=present
pacman: name=gimp-nufraw state=present
@@ -20,6 +20,30 @@
- hachoir-parser
- mat

- name: Enable MariaDB for digiKam
service:
name: mariadb
enabled: yes
state: started

- name: MySQL settings for digiKam
lineinfile:
dest: /etc/mysql/my.cnf
regexp: "^max_allowed_packet"
line: "max_allowed_packet = 16M"
become: yes

- name: digiKam MariaDB service config
copy:
src: unsafe.conf
dest: /etc/systemd/system/mariadb.service.d/unsafe.conf
mode: 0644
become: yes

#- name: First time setup MariaDB
# command: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# become: yes

# - import_tasks: beets.yml # the music geek's media organizer
- import_tasks: gimp.yml
- import_tasks: qcode.yml

0 comments on commit e066103

Please sign in to comment.