photon-docker-image icon indicating copy to clipboard operation
photon-docker-image copied to clipboard

Ansible that installs with tdnf gives error message (does not work)

Open xdaytona955 opened this issue 5 years ago • 0 comments

Ansible package not working with base Photon image.

Using "sudo docker run -it photon:latest"

Recreation steps:

  1. tdnf install ansible -y
  2. ansible --version

Gives this error: "Traceback (most recent call last): File "/usr/bin/ansible", line 60, in import ansible.constants as C File "/usr/lib/python2.7/site-packages/ansible/constants.py", line 12, in <modul from jinja2 import Template ImportError: No module named jinja2"

Thanks!

xdaytona955 avatar Oct 22 '19 18:10 xdaytona955