Role os_horizon for OpenStack-Ansible
7d01073884
This commit uses the pattern established in [1] to remove the venv activation code by using the correct venv Python interpreter instead. Note that using python-path in openstack_dashboard.conf.j2 does not achieve full isolation from the host's python installation as we'd hope (the path will still include /usr/local/lib/python2.7/dist-packages and /usr/lib/python2.7/dist-packages), but every attempt at using python-home failed due to the venv interpreter not being able to find argparse. We will need to spend some additional cycles here trying to solve this as locking the venv interpreter into its own site-packages is the best solution long-term. [1] https://review.openstack.org/#/c/273943/ Change-Id: I0fbb8b9b070d1a0ab5cd55abfcc6587a0cd8957d |
||
---|---|---|
defaults | ||
doc | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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
- name: Installation and setup of horizon
hosts: horizon_all
user: root
roles:
- { role: "os_horizon", tags: [ "os-horizon" ] }
vars:
horizon_galera_address: "{{ internal_lb_vip_address }}"