Use ini_file to update timeout instead of crudini

crudini seems to have trouble on py3 -- still not sure *why* it's using
py3 for the losf job, though...

Change-Id: Id98055994c8d59e561372417c9eb4aec969afc6a
This commit is contained in:
Tim Burke 2020-04-10 22:02:57 -07:00
parent 0b86f681f5
commit 79811df34c

View File

@ -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