Example ansible playbook and role to set up postgres database Based on https://blog.apcelent.com/using-ansible-to-set-up-postgresql.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.yml 136 B

123456789
  1. ---
  2. - name: Create a PostgreSQL DB server
  3. hosts: all
  4. remote_user: postgres
  5. vars_files:
  6. - vars/main.yml
  7. roles:
  8. - createdb