mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Merge pull request #30 from lowescott/lxd-ansible-update
Update Ansible playbook
This commit is contained in:
commit
6bc3b4323f
1 changed files with 8 additions and 2 deletions
|
|
@ -4,15 +4,21 @@
|
|||
remote_user: "vagrant"
|
||||
|
||||
tasks:
|
||||
- name: "Add LXD repository"
|
||||
- name: "Ensure Trusty backports repos are enabled"
|
||||
apt_repository:
|
||||
repo: "ppa:ubuntu-lxc/lxd-stable"
|
||||
repo: "{{ item }}"
|
||||
state: "present"
|
||||
with_items:
|
||||
- "deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse"
|
||||
- "deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse"
|
||||
|
||||
- name: "Install LXD"
|
||||
apt:
|
||||
state: "present"
|
||||
update_cache: "yes"
|
||||
name: "{{ item }}"
|
||||
default_release: "trusty-backports"
|
||||
with_items:
|
||||
- lxd
|
||||
- lxd-client
|
||||
- lxd-tools
|
||||
|
|
|
|||
Loading…
Reference in a new issue