Skip to content

Instantly share code, notes, and snippets.

View getsomebread's full-sized avatar

Bread getsomebread

  • Northern Hemisphere
View GitHub Profile
@ruanbekker
ruanbekker / docker-nfs-volumes.md
Created December 10, 2017 10:43
NFS Volumes with Docker Swarm

Create NFS Volumes:

Creating the NFS Volume:

$ docker volume create --driver local \
  --opt type=nfs \
  --opt o=addr=192.168.1.115,uid=1000,gid=1000,rw \
  --opt device=:/mnt/volumes/mysql-test \
  mysql-test-1
---
filters:
extattrs: {}
view: null
---
- name: "Install infoblox-client in tower nodes"
hosts: tower
become: true
gather_facts: false
tasks:
- name: "Install infoblox-client in ansible's venv"
pip:
name: "infoblox-client"
umask: "0022"