scottslowe-learning-tools/lxd/provision.yml
Scott Lowe adb406fb50 First commit of Ansible-based environment
Add support files for using Ansible to provision Vagrant VMs.
Modify Vagrantfile to call Ansible provisioner.
2016-01-08 22:33:55 -07:00

18 lines
318 B
YAML

---
- hosts: "all"
sudo: "yes"
remote_user: "vagrant"
tasks:
- name: "Add LXD repository"
apt_repository:
repo: "ppa:ubuntu-lxc/lxd-stable"
state: "present"
- name: "Install LXD"
apt:
state: "present"
update_cache: "yes"
name: "{{ item }}"
with_items:
- lxd