Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 553 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 553 Bytes

Install Docker Engine on Ubuntu via Ansible

System requirements

  • Ubuntu 18.04+
  • Ansible 2.4.0+
  • passwordless SSH access

Usage

Edit inventory/servers/hosts.ini to match your system's information. For example:

[servers]
192.16.35.12
192.16.35.13
192.16.35.14

[servers:vars]
ansible_user=Ubuntu
systemd_dir=/etc/systemd/system

If needed, you can also edit [servers:vars] to match your environment.

Start the installation using the following command:

ansible-playbook site.yml -i inventory/servers/hosts.ini