Skip to content

Instantly share code, notes, and snippets.

@lbradstreet
Created August 29, 2015 20:36
Show Gist options
  • Save lbradstreet/2052f5836dc17cf71c87 to your computer and use it in GitHub Desktop.
Save lbradstreet/2052f5836dc17cf71c87 to your computer and use it in GitHub Desktop.
####
vagrant@vagrant-ubuntu-trusty:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
561f8609e183 alpine:3.2 "echo 'InfluxDB data " 22 minutes ago Restarting (0) 9 minutes ago influx_data
####
± % ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -e remote_user=vagrant -i inventory/vagrant.cfg tasks/boot.yml !8510
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [192.168.50.5]
TASK [docker : Check if Docker is installed] ***********************************
ok: [192.168.50.5]
TASK [docker : Install Docker] *************************************************
skipping: [192.168.50.5]
TASK [docker : Allow non-sudo Docker access] ***********************************
changed: [192.168.50.5]
TASK [docker : Install Pip] ****************************************************
ok: [192.168.50.5]
TASK [docker : Install docker-py] **********************************************
changed: [192.168.50.5]
TASK [docker : Install httplib2] ***********************************************
changed: [192.168.50.5]
TASK [influx : Create the durable InfluxDB data directory] *********************
ok: [192.168.50.5]
TASK [influx : Create the InfluxDB data container] *****************************
changed: [192.168.50.5]
TASK [influx : Run InfluxDB container] *****************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment