Skip to content

Commit

Permalink
custom WAL location: fix yamllint warning
Browse files Browse the repository at this point in the history
fixed:
::warning file=./roles/patroni/tasks/custom_wal_dir.yml,line=45,col=225::[comments] too few spaces before comment
  • Loading branch information
vitabaks committed Dec 26, 2020
1 parent ac3850d commit 47e87c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/patroni/tasks/custom_wal_dir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
delegate_to: "{{ inventory_hostname }}"

- 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
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
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
register: mv_result
when: sym.stat.exists and not sym.stat.islnk|bool

Expand Down

0 comments on commit 47e87c1

Please sign in to comment.