Advertisement
dulhaver

defaults_psql.yml

Oct 27th, 2021
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.21 KB | None | 0 0
  1. ---
  2. # defaults file for postgres_install
  3.  
  4. ansible_python_interpreter: /usr/bin/python3
  5.  
  6. # define postgres distribution version and sha512 checksum of .tar.gz package from scb-repo
  7. postgres_version: postgresql-12.6
  8.  
  9. # postgres directories and postgres user
  10. ansible_become_user: root
  11. ansible_postgres_user: postgres
  12. step_user: stepuser
  13.  
  14. postgres_user_home: /home/postgres
  15. db_base: /opt/db
  16. postgres_base: /opt/db/postgres
  17. postgres_bin: /opt/db/postgres/bin
  18. postgres_home: /opt/db/postgres/postgresql
  19. postgres_install: /opt/db/postgres/install
  20. postgres_nrpe: /opt/db/postgres/nrpe
  21. postgres_temp: /opt/db/postgres/tmp
  22. postgres_tools: /opt/db/postgres/tools
  23. postgres_data: /opt/db/data/postgres/data
  24. postgres_arch: /opt/db/backup/postgres/archives
  25. postgres_back: /opt/db/backup/postgres/backups
  26.  
  27. # postgres artifacts and repos
  28. postgres_major_version: "{{ postgres_version.split('.')[0] }}"
  29. postgres_distribution: "{{ postgres_version }}.tar.gz"
  30. postgres_mirror: http://some.domain.de/scb-repo
  31. postgres_repo: "{{ postgres_mirror }}/postgres/Linux/{{ postgres_version.split('-')[-2] }}"
  32. postgres_auth_user: postgres
  33. postgres_auth_pass: "{{ lookup('password', '/dev/null length=20 chars=ascii_letters,digits') }}"
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement