Skip to content

Commit e53da61

Browse files
committed
update molecule README for CentOS 8 ansible host
1 parent b870586 commit e53da61

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.swp
22
*.retry
33
*.pyc
4+
venv

molecule/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ test11 | 1 | N | As for #5 but then deletes a n
2222

2323
# Local Installation & Running
2424

25-
Local installation on a Centos7 machine looks like:
25+
Local installation on a CentOS 8 machine looks like:
2626

2727
sudo yum install -y gcc python3-pip python3-devel openssl-devel python3-libselinux
2828
sudo yum install -y yum-utils
2929
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
3030
sudo yum install -y docker-ce docker-ce-cli containerd.io
31-
pip3 install -r molecule/requirements.txt --user
31+
python3 -m venv venv
32+
. venv/bin/activate
33+
pip install -U pip
34+
pip install -r molecule/requirements.txt
3235

3336
sudo systemctl start docker
3437
sudo usermod -aG docker ${USER}

molecule/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pip
22
setuptools
3-
molecule[docker,lint]
3+
molecule[docker,lint,ansible]

0 commit comments

Comments
 (0)