diff options
Diffstat (limited to 'database/image-config.yml')
-rw-r--r-- | database/image-config.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/database/image-config.yml b/database/image-config.yml new file mode 100644 index 00000000..efa1843d --- /dev/null +++ b/database/image-config.yml @@ -0,0 +1,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 |