Setup basic postgresql server and add a db-aarch64 to test with.
This commit is contained in:
parent
93e53a78be
commit
f00b97e48e
5 changed files with 94 additions and 0 deletions
20
tasks/postgresql_server.yml
Normal file
20
tasks/postgresql_server.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
#
|
||||
# Setup postgresql server.
|
||||
#
|
||||
- name: install postgresql server packages
|
||||
yum: name=$item state=installed
|
||||
with_items:
|
||||
- postgresql-server
|
||||
- postgresql-contrib
|
||||
- postgresql-plpython
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Set postgresql-server to run on boot
|
||||
service: name=postgresql enabled=yes
|
||||
ignore_errors: true
|
||||
notify:
|
||||
- restart postgresql
|
||||
tags:
|
||||
- service
|
Loading…
Add table
Add a link
Reference in a new issue