naftulikay.vagrant-docker

ansible-role-vagrant-docker Build Status

An Ansible role for installing, configuring, and starting Docker within a Vagrant machine. Simply depends on the upstream naftulikay.docker and naftulikay.vagrant-base roles and specifies that vagrant_user should be added to the docker system group.

Available on Ansible Galaxy at naftulikay.vagrant-docker.

Requirements

Officially tested operating systems are listed in the Galaxy manifest.

Role Variables

vagrant_user
The user name of the Vagrant user, defaults to vagrant.

Please see the upstream naftulikay.vagrant-base and naftulikay.docker roles for additional supported variables.

Dependencies

Example Playbook

Here are some example playbooks to get started with.

Defaults

Simply get that Docker dockering in Vagrant:

---
- name: install
  hosts: all
  become: true
  roles: [vagrant-docker]

If your Vagrant box uses a non-vagrant name for the Vagrant user:

---
- name: install
  hosts: all
  become: true
  roles: [{ role: vagrant-docker, vagrant_user: notvagrant }]

License

MIT

About

Install and configure Docker on a system.

Install
ansible-galaxy install naftulikay.vagrant-docker
GitHub repository
License
mit
Downloads
602
Owner
An urban mystic, pining for conifers in a jungle of concrete and steel.