ansible-postgresql-role
ansible-postgresql-role copied to clipboard
how to modify this to adapt my project?
Hi,
I noticed this project can be used in my project which should deploy the postgresql on remote machine and configure it .
I'm the fresh man in Ansible area, at least not too fresh to write ansible-playbooks. How could I reuse your playbook on my project? I means change simple configurations or parameters.
Hi. You can override any configuration params from https://github.com/zzet/ansible-postgresql-role/blob/master/defaults/main.yml
$ ansible-galaxy install zzet.postgresql
- hosts: db
vars:
# here you can override some params
# ex
pg_version: 9.4
roles:
- role: zzet.postgresql
# here you can also override params
thanks , I will try it tomorrow.