postgresql icon indicating copy to clipboard operation
postgresql copied to clipboard

redhat vars overriding main playbook vars

Open eapugo opened this issue 10 years ago • 0 comments

For some reason you have additional variables in your redhat.yml file which overrides my vars that are set within my role.

postgresql_cluster_name: "data"
postgresql_service_name: "postgresql-{{ postgresql_version }}"

postgresql_varlib_directory_name: "pgsql"

# Used to execute initdb
postgresql_bin_directory: "/usr/pgsql-{{postgresql_version}}/bin"

postgresql_unix_socket_directories:
  - "{{ postgresql_pid_directory }}"
  - /tmp

I changed cluster_name: main in my playbook within the roles configs but that is disregarded because of the above configuration. Its causing a bit of confusion cause I have to add a new vars file to override these settings.

eapugo avatar Jul 20 '16 17:07 eapugo