Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Add parameters to pump config #805

Merged
merged 1 commit into from
Jul 3, 2019
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions conf/pump-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ security:
storage:
# Set to true (by default) to guarantee reliability by ensuring binlog data is flushed to the disk.
# sync-log: true

# stop write when disk available space less than the configured size
# 42 MB -> 42000000, 42 mib -> 44040192
# default: 10 gib
# stop-write-at-available-space = "10 gib"
4 changes: 2 additions & 2 deletions roles/check_system_static/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@
when: ansible_version.full | version_compare('2.4.2', '<')

- name: Get if jmespath info[1]
shell: pip list | grep -i jmespath | wc -l
shell: pip list | grep -iw jmespath | wc -l
register: jmespath_exist

- name: Get if jinja2 exist[1]
shell: pip list | grep -i jinja2 | wc -l
shell: pip list | grep -iw jinja2 | wc -l
register: jinja2_exist

- name: Preflight check - Fail when jmespath or jinja2 doesn't exist
Expand Down
5 changes: 5 additions & 0 deletions roles/pump_cluster/vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ security:
storage:
# Set to true (by default) to guarantee reliability by ensuring binlog data is flushed to the disk.
# sync-log: true

# stop write when disk available space less than the configured size
# 42 MB -> 42000000, 42 mib -> 44040192
# default: 10 gib
# stop-write-at-available-space = "10 gib"