skip to Main Content

ansible returns with "Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) – Debian

I am running myserver in ubuntu: + sudo cat /etc/os-release NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.6 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial I use ansible and when I run it I get the following error: fatal:…

VIEW QUESTION

Ansible suddenly uses svr4pkg as a backend of yum – CentOS

Declared YUM task as below: --- - hosts: all vars: tasks: - name: install package yum: name: ntp state: present Ran following command: ansible-playbook test.yml -i localhost, --connection=local -vvvv Receiving error message: TASK [install package] *************************************************************************************************************************************************** task path: /home/osuser/dod/test.yml:6 Using…

VIEW QUESTION

How to test ansible roles? – CentOS

Scenario I want to develop ansible roles. Those roles should be validated through a CI/CD process with molecule and utilize docker as driver. This validation step should include multiple Linux flavours (e.g. centos/ubuntu/debian) times the supported ansible versions. The tests…

VIEW QUESTION
Back To Top
Search