Skip to content

Commit

Permalink
adding python module details to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rlopez133 committed Mar 24, 2020
1 parent 665feb2 commit 17df292
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions ansible-ipi-install/README.md
Expand Up @@ -205,6 +205,38 @@ ansible 2.9.1

NOTE: The config file section should point to the path of your `ansible.cfg`

## Python modules on the localhost
The Ansible playbook takes advantage of a few python modules that are required
to be installed on the localhost running the playbook.

The python modules required are:
- dnspython
- netaddr

Depending on the operating system you are running on your localhost and what
version of python your environment is using will dictate which package
needs to be installed.

On Fedora/RHEL8.x using python2 or python3
~~~sh
dnf install -y pythonX-dns
dnf install -y pythonX-netaddr
~~~

NOTE: `X` is version `2` or version `3` of python. User can verify which version
of python they are running by attempting
~~~sh
python --version
python3 --version
~~~

On CentOS 7.x systems
~~~sh
yum install -y python-dns
yum install -y python-netaddr
~~~


## Copy local ssh key to provision node

With the `ansible.cfg` file in place, the next step is to ensure to copy your
Expand Down

0 comments on commit 17df292

Please sign in to comment.