Configure Postgresql
- Configure Postgresql
- Create user and database
- Create cron job for backup Requirements
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
- db_name
- db_user
- db_password
- db_version
- host_ip
- allowed_db_ip
- db_port
Dependencies
Use this role only after postgres-install
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
BSD
Author Information
An optional section for the role authors to include contact information, or a website (HTML is not allowed).