Skip to content

Commit 787b7c2

Browse files
committed
Fix references to incorrect variable name
1 parent f363e42 commit 787b7c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ Role Variables
7777
- `postgresql_pg_hba_local_ipv6`: If set to `false`, this will remove the `host ... ::1/128` entry from `pg_hba.conf`
7878
that is preconfigured by the PostgreSQL package.
7979
80-
- `postgresql_pgdata_dir`: Only set this if you have changed the `$PGDATA` directory from the package default. Note this
80+
- `postgresql_pgdata`: Only set this if you have changed the `$PGDATA` directory from the package default. Note this
8181
does not configure PostgreSQL to actually use a different directory, you will need to do that yourself, it just allows
8282
the role to properly locate the directory.
8383
84-
- `postgresql_conf_dir`: As with `postgresql_pgdata_dir` except for the configuration directory.
84+
- `postgresql_conf_dir`: As with `postgresql_pgdata` except for the configuration directory.
8585
8686
### Backups ###
8787

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
postgresql_version: "{{ postgresql_default_version }}"
1212
when: ansible_os_family == "RedHat" and postgresql_version is not defined
1313

14-
# Sets postgresql_pgdata_dir, postgresql_conf_dir
14+
# Sets postgresql_pgdata, postgresql_conf_dir
1515
- name: Set OS-specific variables
1616
include_vars: "{{ ansible_os_family | lower }}.yml"
1717

@@ -25,7 +25,7 @@
2525
postgresql_conf_dir: "{{ postgresql_conf_dir_default }}"
2626
when: postgresql_conf_dir is not defined
2727

28-
# Needs postgresql_pgdata_dir set
28+
# Needs postgresql_pgdata set
2929
- include_tasks: redhat.yml
3030
when: ansible_os_family == "RedHat"
3131

0 commit comments

Comments
 (0)