From ff6aa7a7fe6fc3c582c87b4782de0fea65dd832e Mon Sep 17 00:00:00 2001 From: "Dmitriy Rabotyagov (noonedeadpunk)" Date: Thu, 19 Sep 2019 10:13:37 +0000 Subject: [PATCH] Revert "Update fallocate_reserve to work with py3" We need to revert this commit once related bug will be resolved This reverts commit c1bdbfbb143fe7b31d883e4a068b538f884aaf03. Change-Id: Ic369410130fe94d18a5198b9d50b584c1935c1b6 Related-Bug: https://bugs.launchpad.net/swift/+bug/1844368 --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index afbcd08c..3ef0574f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -158,7 +158,7 @@ swift_allow_all_users: False swift_recreate_keys: False swift_sorting_method: shuffle # Set the fallocate_reserve value which will reserve space and fail on PUTs above this value in bytes (Default 10GB) -swift_fallocate_reserve: "{{ (swift_venv_python_executable == 'python3' and swift_install_method == 'source') | ternary('1%%', '1%') }}" +swift_fallocate_reserve: "1%" swift_account_fallocate_reserve: "{{ swift_fallocate_reserve }}" swift_container_fallocate_reserve: "{{ swift_fallocate_reserve }}" swift_object_fallocate_reserve: "{{ swift_fallocate_reserve }}"