tasks: Record a venv_tag local fact for distro installations
Distro installations do not deploy virtual environments but they still need a local venv_tag deployed. The reason for this is because this fact is used by the integration repo to determine if the keystone software is the same across all nodes in the keystone_all group so we can safely run the DB migration. Change-Id: I9bab11b3c643f2411d78267aa6114081fe76b9ef
This commit is contained in:
parent
28982bf37b
commit
f2a3f86c9c
@ -99,6 +99,17 @@
|
||||
include_tasks: keystone_install_source.yml
|
||||
when: keystone_install_method == 'source'
|
||||
|
||||
# TODO(hwoarang): We need to have a venv_tag local fact deployed since we use it in the
|
||||
# integration repo to determine if keystone software is the same across all nodes in the
|
||||
# keystone_all group so we can safely run the DB migration. See
|
||||
# https://github.com/openstack/openstack-ansible/blob/master/playbooks/os-keystone-install.yml
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
section: keystone
|
||||
option: venv_tag
|
||||
value: "{{ keystone_venv_tag }}"
|
||||
|
||||
- name: Initialise the upgrade facts
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
|
@ -110,10 +110,3 @@
|
||||
when: keystone_get_venv is changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
section: keystone
|
||||
option: venv_tag
|
||||
value: "{{ keystone_venv_tag }}"
|
||||
|
Loading…
Reference in New Issue
Block a user