mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add support files for using Ansible to provision Vagrant VMs. Modify Vagrantfile to call Ansible provisioner.
18 lines
318 B
YAML
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
|