mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add Vagrant environment and supporting files for a simple LXC environment. Environment includes YAML file for machines, Ansible playbook, Ansible inventory file (generated automatically), Ansible configuration file, Vagrantfile, and README.md.
15 lines
239 B
YAML
15 lines
239 B
YAML
---
|
|
- hosts: "all"
|
|
sudo: "yes"
|
|
remote_user: "vagrant"
|
|
|
|
tasks:
|
|
- name: "Install LXC"
|
|
apt:
|
|
state: "present"
|
|
update_cache: "yes"
|
|
name: "{{ item }}"
|
|
with_items:
|
|
- lxc
|
|
- lxc-templates
|
|
- lxctl
|