Skip to content

mach1el/ansible_postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for Postgresql

Version License

Auto build,deploy Postgres database with ansible

Role variables

See default/main.yml

Role pathes

├── defaults
│   └── main.yml
├── handlers
│   └── main.yml
├── tasks
│   ├── configure.yml
│   ├── initialize.yml
│   ├── main.yml
│   └── setup_debian.yml
└── templates
├──  pg_hba.conf.j2
├── postgresql.conf.j2
└── postgres.sh.j2

Example playbook

- name: Initialize postgresql
  hosts: all
  become: true
  roles: 
    - 'mach1el.ansible_postgresql'