summaryrefslogtreecommitdiff
path: root/baserock_database/image-config.yml
blob: a6ba9866401766afe923d75eb111e6f2534f2790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# System configuration for Baserock database server.
#
# Packer runs this playbook inside the system at 'build' time, using the
# command `sudo ansible-playbook`.
---
- hosts: localhost
  gather_facts: False
  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