Skip to content

Instantly share code, notes, and snippets.

View pjgoodall's full-sized avatar

Peter Goodall pjgoodall

  • Sydney, Australia
View GitHub Profile
@pjgoodall
pjgoodall / gist:2f86828e7c6f35d8e35077da5749cd2c
Created December 29, 2017 05:11
packer -debug log of freeze when using ansible remote provisioner
> packer build -debug -machine-readable packer-lxd-ansible.json
1514523823,,ui,say,Debug mode enabled. Builds will not be parallelized.
1514523824,,ui,say,==> lxd-xenial: Creating container...
1514523829,,ui,say,==> lxd-xenial: Provisioning with Ansible...
1514523830,,ui,say,==> lxd-xenial: Executing Ansible: ansible-playbook --extra-vars packer_build_name=lxd-xenial packer_builder_type=lxd -i /tmp/packer-provisioner-ansible954276981 /home/peter/MyProjects/LXD/packer-ansible-lxd/playbook.yml --private-key /tmp/ansible-key482779118 -vvvv
1514523831,,ui,message, lxd-xenial: ansible-playbook 2.4.2.0
1514523831,,ui,message, lxd-xenial: config file = None
1514523831,,ui,message, lxd-xenial: configured module search path = [u'/home/peter/.ansible/plugins/modules'%!(PACKER_COMMA) u'/usr/share/ansible/plugins/modules']
1514523831,,ui,message, lxd-xenial: ansible python module location = /home/peter/anaconda3/envs/ansible-packer/lib/python2.7/site-packages/ansible
1514523831,,ui,me
@pjgoodall
pjgoodall / acg-aws-ubuntu-16_04.md
Last active September 20, 2017 05:44
setting up and environment for using node, npm, awscli, boto3 and ipython on Ubuntu 16.04 LTS

Instructions for setting up and environment for using node, npm, nvm, awscli boto3 and ipython on Ubuntu 16.04 LTS.

The lines starting with > in code format are what you type at the command-line. dont include the > that just indicates a command-prompt

git

> sudo apt install git

nvm

nvm is the node version manager. DigitalOcean has a tutorial on installing nvm - Please note the final section, if you need to manage the system's version of node.js. Davis Walsh has a tutorial on managing Node.js Versions with nvm.