Merge "Add --flush-cache to launch.py ansible"

This commit is contained in:
Zuul 2019-04-05 20:59:39 +00:00 committed by Gerrit Code Review
commit ade72bdd6a

View File

@ -178,6 +178,7 @@ def bootstrap_server(server, key, name, volume_device, keep,
]) ])
ansible_cmd = [ ansible_cmd = [
'ansible-playbook', 'ansible-playbook',
'--flush-cache',
'-i', inventory_list, '-l', name, '-i', inventory_list, '-l', name,
'--private-key={key}'.format(key=jobdir.key), '--private-key={key}'.format(key=jobdir.key),
"--ssh-common-args='-o StrictHostKeyChecking=no'", "--ssh-common-args='-o StrictHostKeyChecking=no'",