diff options
author | Zuul <zuul@review.opendev.org> | 2020-06-11 21:03:01 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-06-11 21:03:01 +0000 |
commit | 0bed59e3faae94b96f98bbbc61b09abe54453267 (patch) | |
tree | 63df7bc5713f8cb49ba3b22e4692f27b019b25db | |
parent | 3c0a448f06fc4469a50cdc64f8b9a5d8f0d5ac5d (diff) | |
parent | 79811df34c84b416ce9f445926b31a23a32ea1a4 (diff) | |
download | swift-0bed59e3faae94b96f98bbbc61b09abe54453267.tar.gz |
Merge "Use ini_file to update timeout instead of crudini"
-rw-r--r-- | tools/playbooks/saio_single_node_setup/setup_saio.yaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/playbooks/saio_single_node_setup/setup_saio.yaml b/tools/playbooks/saio_single_node_setup/setup_saio.yaml index 60d39c5f3..c78cefda7 100644 --- a/tools/playbooks/saio_single_node_setup/setup_saio.yaml +++ b/tools/playbooks/saio_single_node_setup/setup_saio.yaml @@ -153,10 +153,12 @@ with_items: "{{ find_result.files }}" - name: set the options in the proxy config file - shell: - cmd: | - crudini --set /etc/swift/proxy-server.conf app:proxy-server node_timeout 20 - executable: /bin/bash + ini_file: + path: /etc/swift/proxy-server.conf + section: app:proxy-server + option: node_timeout + value: 20 + create: no - name: copy the SAIO scripts for resetting the environment command: cp -r {{ zuul.project.src_dir }}/doc/saio/bin /home/{{ ansible_ssh_user }}/bin creates=/home/{{ ansible_ssh_user }}/bin |