Skip to content

Ansible playbook to install docker on RHEL instance

Notifications You must be signed in to change notification settings

mgonzal1/ansible-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Docker

Table of contents:

Playboook for automatic installation and configuration of Docker.

  • RHEL 7
  • Playbook should be executed from a machine with SSH access to the instances that will be configured. The ssh user needs sudo privileges without password.
  • Fill inventory.yml file. A sample is commented for reference. Multiple hosts can be defined. Inventory reference: https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html
  • Ansible needs to be >2.10. As a recommendation, create a virtual environment with python3 and install ansible with pip.
  1. Clone repository
  2. Run Playboook
$ ansible-playbook -i inventory.yml main.yml

About

Ansible playbook to install docker on RHEL instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published