summaryrefslogtreecommitdiff
path: root/database/image-config.yml
blob: efa1843d530b5353db33df26d9d06d9681da8eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# System configuration for Baserock database server.
#
# Packer runs this playbook inside the system at 'build' time, using the
# command `sudo ansible-playbook`.
---
- hosts: localhost
  tasks:
  - name: enable persistant journal
    shell: mkdir /var/log/journal
    args:
      creates: /var/log/journal

  - name: install lvm2 tools
    yum: name=lvm2 state=latest

  - name: install MariaDB
    yum: name={{ item }} state=latest
    with_items:
        - mariadb
        - mariadb-server
        - MySQL-python