
Most IRR roles have identical pre_install and install YAML task files. This makes it easy to change them across the board. Horizon, however, has a number of tasks in the pre_install YAML file where on the other roles these tasks lie in the install YAML. This commit moves the following from horizon_pre_install to horizon_install.yml: Install requires pip packages Get local venv checksum Get remote venv checksum Attempt venv download Set horizon get_venv fact Remove existing venv Create horizon venv dir Unarchive pre-built venv Update virtualenv path Create horizon venv Create horizon links for venv Create static horizon dir Additionally, we delete the 'Create horizon venv' task as there should be no reason to install horizon_requires_pip_packages into the venv itself. This also requires moving 'Create horizon links for venv' and 'Create static horizon dir' to the end of horizon_install.yml since the venv does not exist at this point as the 'Install pip packages (venv)' still needs to run. With this change in place, it becomes easier to make changes across all roles as they should now all follow a similar pattern. Change-Id: Ie22b2ccdfb5e1f58b09c6740d16c9b538521143c
OpenStack horizon ############## :tags: openstack, horizon, cloud, ansible :category: *nix
Role for deployment, setup and installation of horizon.
- This role will install the following:
-
- horizon-dashboard
Description
Languages
Jinja
74.3%
Python
18.5%
Shell
7.2%