Install Ansible In Docker
ripski.co › install-ansible-in-dockerJan 10, 2022 · Name: Install Docker yum: name: docker-ce state: latest; RHEL 8 version. Name: Install Docker shell: 'dnf install -nobest docker-ce' A more clean solution It would be to declare both tasks and set a when conditional, in order to evaluate which version of the current OS it is running and, based on that execute the related task.
Install Docker In Redhat
ripski.co › install-docker-in-redhat-7274Jan 05, 2022 · How to install and use Docker on RHEL 7 or CentOS 7 (method 1) The procedure to install Docker is as follows: Open the terminal application or login to the remote box using ssh command: ssh [email protected] Type the following command to install Docker via yum provided by Red Hat: sudo yum install docker.