Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
set_fact:
# postgresql_global_config_options is an array but its keys are unique, so it can be converted to dict,
# to easily get the value under the 'log_directory' key
postgresql_log_dir: "{{ (postgresql_global_config_options | items2dict(key_name='option', value_name='value')).log_directory }}"
postgresql_log_dir: "{{ (postgresql_global_config_options | items2dict(key_name='option', value_name='value')).log_directory | default('log') }}"

Check warning on line 62 in tasks/variables.yml

View workflow job for this annotation

GitHub Actions / Lint

62:121 [line-length] line too long (149 > 120 characters)

- name: Define postgresql_effective_log_dir, if postgresql_log_dir is absolute
set_fact:
Expand Down
Loading