Skip to content

Instantly share code, notes, and snippets.

@yutannihilation
Created February 21, 2016 05:08
Show Gist options
  • Save yutannihilation/3c6a6b4816802708b20c to your computer and use it in GitHub Desktop.
Save yutannihilation/3c6a6b4816802708b20c to your computer and use it in GitHub Desktop.
Ansible playbook to install LXD
---
- hosts: localhost
connection: local
tasks:
- name: add apt repo
apt_repository: repo='ppa:ubuntu-lxc/lxd-stable'
- name: install lxc and lxd
apt: name=lxd state=latest update_cache=yes cache_valid_time=600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment