centos – Ansible failed to install (docker-latest docker docker-python python-docker-py)
I am trying to run the following playbook
.
.
.
tasks:
- name: Install python and build dependencies
yum: pkg={{ item }} state=installed
with_items:
- docker-latest
- docker
- docker-python
- python-docker-py
.
.
.
but this what I got
failed: [myVM] (item=['docker-latest', 'docker', 'docker-python', 'python-docker-py']) => {"changed": false, "failed": true, "item": ["docker-latest", "docker", "docker-python", "python-docker-py"], "msg": "No package matching 'docker-latest' found available, installed or updated", "rc": 126, "results": ["No package matching 'docker-latest' found available, installed or updated"]}
My host OS is CentOS Linux release 7.9.2009.
Read more here: Source link
