Migrate a bunch of things to roles. Thanks to misc!
This commit is contained in:
parent
16ce004157
commit
8e2ec48cc0
55 changed files with 138 additions and 108 deletions
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Setup postgresql server.
|
||||
#
|
||||
- name: install postgresql server packages
|
||||
yum: name=$item state=installed
|
||||
with_items:
|
||||
- postgresql-server
|
||||
- postgresql-contrib
|
||||
- postgresql-plpython
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: initialize postgresql
|
||||
command: service postgresql initdb
|
||||
creates=/var/lib/pgsql/data/postgresql.conf
|
||||
ignore_errors: true
|
||||
tags:
|
||||
- service
|
||||
|
||||
- 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