requirements.txt
ansible2.9.16
jinja22.11.1
netaddr0.7.19
pbr5.4.4
jmespath0.9.5
ruamel.yaml0.16.10
pip3.6 install -r requirements.txt
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with ‘-m pip’ instead of running pip directly.
Requirement already satisfied: ansible2.9.16 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (2.9.16)
Requirement already satisfied: jinja22.11.1 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (2.11.1)
Requirement already satisfied: netaddr0.7.19 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (0.7.19)
Requirement already satisfied: pbr5.4.4 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (5.4.4)
Requirement already satisfied: jmespath0.9.5 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 5)) (0.9.5)
Requirement already satisfied: ruamel.yaml0.16.10 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 6)) (0.16.10)
Requirement already satisfied: PyYAML in /usr/local/lib64/python3.6/site-packages (from ansible2.9.16->-r requirements.txt (line 1)) (5.4.1)
Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from ansible2.9.16->-r requirements.txt (line 1)) (3.4.7)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib64/python3.6/site-packages (from jinja22.11.1->-r requirements.txt (line 2)) (2.0.1)
Requirement already satisfied: ruamel.yaml.clib>=0.1.2 in /usr/local/lib64/python3.6/site-packages (from ruamel.yaml0.16.10->-r requirements.txt (line 6)) (0.2.6)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.6/site-packages (from cryptography->ansible2.9.16->-r requirements.txt (line 1)) (1.14.6)
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi>=1.12->cryptography->ansible2.9.16->-r requirements.txt (line 1)) (2.20)
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
ansible-playbook -i inventory/mycluster/hosts.yaml -b cluster.yml -vvvv
-bash: ansible-playbook: command not found