Skip to content

Commit 47e87c1

Browse files
committed
custom WAL location: fix yamllint warning
fixed: ::warning file=./roles/patroni/tasks/custom_wal_dir.yml,line=45,col=225::[comments] too few spaces before comment
1 parent ac3850d commit 47e87c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/patroni/tasks/custom_wal_dir.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
delegate_to: "{{ inventory_hostname }}"
4343

4444
- name: "Rename {{ 'pg_wal' if postgresql_version is version('10', '>=') else 'pg_xlog' }} to {{ 'pg_wal' if postgresql_version is version('10', '>=') else 'pg_xlog' }}_old" # noqa 204
45-
command: mv {{ postgresql_data_dir }}/{{ 'pg_wal' if postgresql_version is version('10', '>=') else 'pg_xlog' }} {{ postgresql_data_dir }}/{{ 'pg_wal' if postgresql_version is version('10', '>=') else 'pg_xlog' }}_old # noqa 204
45+
command: mv {{ postgresql_data_dir }}/{{ 'pg_wal' if postgresql_version is version('10', '>=') else 'pg_xlog' }} {{ postgresql_data_dir }}/{{ 'pg_wal' if postgresql_version is version('10', '>=') else 'pg_xlog' }}_old # noqa 204
4646
register: mv_result
4747
when: sym.stat.exists and not sym.stat.islnk|bool
4848

0 commit comments

Comments
 (0)