naftulikay.vagrant-docker
ansible-role-vagrant-docker 
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. naftulikay.docker: Installs and configures Docker.naftulikay.vagrant-base: Provides base Vagrant configuration.
Please see the upstream
naftulikay.vagrant-baseandnaftulikay.dockerroles 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
Install
ansible-galaxy install naftulikay.vagrant-dockerLicense
mit
Downloads
602
Owner
An urban mystic, pining for conifers in a jungle of concrete and steel.
