Revert "Flag service for restart if the venv changes"

This fact is set, but never used.

This reverts commit 49b82a3573.

Change-Id: I63e115b37dc89800a68d3c71e8b08cef0e971df6
This commit is contained in:
Jesse Pretorius (odyssey4me) 2017-08-29 11:26:13 +00:00
parent 49b82a3573
commit 5b8e343821

View File

@ -120,20 +120,6 @@
static: no
when: swift_pypy_enabled | bool
- name: Record the need for a service restart
ini_file:
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
section: swift
option: need_service_restart
value: True
when: swift_get_venv | changed or
swift_venv_dir | changed or
install_packages | changed or
ansible_local is not defined or
'openstack_ansible' not in ansible_local or
'swift' not in ansible_local['openstack_ansible'] or
'need_service_restart' not in ansible_local['openstack_ansible']['swift']
- name: Record the venv tag deployed
ini_file:
dest: "/etc/ansible/facts.d/openstack_ansible.fact"