Installing Ansible and Molecule on Fedora 30

Page content

Installing Ansible and Molecule on Fedora 30

Forget using dnf. Won’t work. At least not at the time of this post. There are bugs filed - follow the molecule project on GitHub for updates.

  1. You’ll need to install a couple of things:

    sudo dnf -y install gcc python-pip python-devel openssl-devel libselinux-python
    

    Note: The python-pip package will bring in the great pile of python2 packages needed.

  2. Then upgrade setuptools:

    pip install --upgrade --user setuptools
    
  3. Install ansible:

    pip install --user ansible
    
  4. Install molecule:

    pip install --user molecule