Role os_horizon for OpenStack-Ansible
Go to file
Matt Thompson 7d01073884 Remove venv activation code
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
2016-03-03 13:55:50 +00:00
defaults Only update apt cache if necessary 2016-02-09 16:46:22 +01:00
doc Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
handlers Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
meta added role to pin packages 2015-05-08 13:22:42 -05:00
tasks Merge "Only update apt cache if necessary" 2016-02-17 10:51:09 +00:00
templates Remove venv activation code 2016-03-03 13:55:50 +00:00
tests Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
.gitignore Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
.gitreview Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Configure DB addresses for each service 2015-06-10 02:07:38 +00:00
run_tests.sh Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
setup.cfg Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
setup.py Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
test-requirements.txt Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00
tox.ini Implement base configuration for independent repository 2016-03-02 09:39:02 -05:00

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 }}"