Skip to content

Commit a145cfd

Browse files
committed
Update dependency for selinux
1 parent 86e77e5 commit a145cfd

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@ This repo is split into two parts:
1515

1616
It is recommended to install python dependencies in a virtual environment:
1717

18-
virtualenv venv
18+
virtualenv-3 venv
1919
source venv/bin/activate
2020
pip install -U pip
2121
pip install -r requirements.txt
2222

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-
2823
Download and deploy the role from Ansible Galaxy:
2924

3025
ansible-galaxy install -r ansible/requirements.yml -p $PWD/ansible/roles

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ python-novaclient
99
python-openstackclient
1010
python-ironicclient==3.1.2; python_version<='2.7'
1111
python-heatclient
12+
selinux

0 commit comments

Comments
 (0)