Fix horizon-config tag

If role has been run with horizon-config tag it was ending up with [1]
So to avoid failure we add this tag to set_fact task.

[1] http://paste.openstack.org/show/792048/

Change-Id: I02026f135162fcbad646dd162344a4f4dd9f3b12
This commit is contained in:
Dmitriy Rabotyagov 2020-04-13 19:02:14 +03:00
parent dfce587e72
commit 09f613dab7
2 changed files with 3 additions and 1 deletions

View File

@ -62,5 +62,5 @@
- Restart apache2
- name: Install horizon packages from PIP
include_tasks: horizon_install_source.yml
import_tasks: horizon_install_source.yml
when: horizon_install_method == 'source'

View File

@ -80,6 +80,8 @@
- name: Set python lib dir fact
set_fact:
horizon_lib_dir: "{{ _horizon_python_venv_details.files[0].path }}/dist-packages"
tags:
- horizon-config
- name: Create horizon link for venv
file: