File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,17 @@ This repo is split into two parts:
1313
1414## Installation
1515
16+ Ensure that ` libselinux-python3 ` is installed:
17+
18+ sudo yum install -y libselinux-python3
19+
1620It is recommended to install python dependencies in a virtual environment:
1721
18- virtualenv venv
22+ virtualenv-3 venv
1923 source venv/bin/activate
2024 pip install -U pip
2125 pip install -r requirements.txt
2226
23- If SELinux is in use on the ansible control host, enable access to the
24- ` selinux ` python module from the virtualenv:
25-
26- ln -s /usr/lib64/python2.7/site-packages/selinux venv/lib/python2.7/site-packages/selinux
27-
2827Download and deploy the role from Ansible Galaxy:
2928
3029 ansible-galaxy install -r ansible/requirements.yml -p $PWD/ansible/roles
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ python-novaclient
99python-openstackclient
1010python-ironicclient == 3.1.2 ; python_version < ='2.7'
1111python-heatclient
12+ selinux
You can’t perform that action at this time.
0 commit comments