Merge "Use ini_file to update timeout instead of crudini"

This commit is contained in:
Zuul 2020-06-11 21:03:01 +00:00 committed by Gerrit Code Review
commit 0bed59e3fa

View File

@ -153,10 +153,12 @@
with_items: "{{ find_result.files }}" with_items: "{{ find_result.files }}"
- name: set the options in the proxy config file - name: set the options in the proxy config file
shell: ini_file:
cmd: | path: /etc/swift/proxy-server.conf
crudini --set /etc/swift/proxy-server.conf app:proxy-server node_timeout 20 section: app:proxy-server
executable: /bin/bash option: node_timeout
value: 20
create: no
- name: copy the SAIO scripts for resetting the environment - 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 command: cp -r {{ zuul.project.src_dir }}/doc/saio/bin /home/{{ ansible_ssh_user }}/bin creates=/home/{{ ansible_ssh_user }}/bin