Skip to content
Open
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
3 changes: 3 additions & 0 deletions scripts/run-binaries-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.binaries_all
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you recommend these? I always run just ansible-playbook <playbook-name>, and it works fine. And for advanced people running this at a larger-than-default scale, it should be trivial to figure out -f.

3 changes: 3 additions & 0 deletions scripts/run-binaries-dynamic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.binaries_dynamic
3 changes: 3 additions & 0 deletions scripts/run-binaries-static.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.binaries_static
3 changes: 3 additions & 0 deletions scripts/run-create-database.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b ydb_platform.ydb.create_database
3 changes: 3 additions & 0 deletions scripts/run-install-dynamic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.install_dynamic
3 changes: 3 additions & 0 deletions scripts/run-install-static.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.install_static
3 changes: 3 additions & 0 deletions scripts/run-rolling-dynamic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b ydb_platform.ydb.rolling_dynamic
3 changes: 3 additions & 0 deletions scripts/run-rolling-static.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b ydb_platform.ydb.rolling_static
4 changes: 4 additions & 0 deletions scripts/run-update-config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /bin/sh

BACKUP_LABEL=`date '+%Y-%m-%d_%H-%M-%S'`
ansible-playbook -b -f 20 ydb_platform.ydb.update_config --extra-vars "ydb_config_backup=${BACKUP_LABEL}"
Comment on lines +3 to +4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this logic inside the playbook?

3 changes: 3 additions & 0 deletions scripts/run-upgrade-dynamic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.upgrade_dynamic
3 changes: 3 additions & 0 deletions scripts/run-upgrade-static.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

ansible-playbook -b -f 20 ydb_platform.ydb.upgrade_static