install-ansible: remove stevedore workaround

stevedore is several releases on from this buggy behaviour, so we can
remove this workaround now.

Change-Id: I466dce31fc3b7370b55f0b03c611460debe92558
This commit is contained in:
Ian Wienand 2022-08-09 11:14:37 +10:00
parent 21a3c40d04
commit defbc978b9
No known key found for this signature in database

View File

@ -123,26 +123,6 @@
version: '{{ _install_ansible_openstacksdk_version | default(omit) }}'
state: '{{ _install_openstacksdk_state | default(omit) }}'
# NOTE(ianw) 2021-03-03 stevedore < 3.3.0 has a bug where it creates a
# constantly expanding set of cache files in
# /root/.cache/python-endpoints when run under ansible in a /tmp
# directory (this happens via cloud-launcher and openstacksdk).
# Ensure the production host is updated, and drop a .disable file
# for good measure
- name: Ensure stevedore >= 3.3.0
pip:
name: 'stevedore>=3.3.0'
- name: Add stevedore cache dir
file:
path: /root/.cache/python-entrypoints/
state: directory
mode: 0700
- name: Add stevedore cache disable file
file:
path: /root/.cache/python-entrypoints/.disable
state: touch
mode: 0600
- name: Ensure /etc/ansible and /etc/ansible/hosts
file:
state: directory