Skip to content
Snippets Groups Projects
Commit 1d4a3282 authored by Christian Rebischke's avatar Christian Rebischke Committed by Jelle van der Waa
Browse files

fix arch-boxes role

Make sure to use {{ variable }} instead of {{variable}}.
Also we need to ensure git is instaled when using the git module.
parent 33381b1a
No related branches found
No related tags found
No related merge requests found
---
- name: install arch-boxes dependencies
pacman: name=packer,virtualbox,qemu-headless,virtualbox-host-modules-arch,python,python-urllib3 state=present
pacman: name=git,packer,virtualbox,qemu-headless,virtualbox-host-modules-arch,python,python-urllib3 state=present
- name: create arch-boxes user
user: name={{ archboxes_user }} shell=/bin/bash home="{{ archboxes_home }}" createhome=yes
- name: clone arch-boxes repository
git: repo='https://github.com/archlinux/arch-boxes.git' dest="{{ archboxes_git_dir }}" force=yes version="{{archboxes_version}}"
git: repo='https://github.com/archlinux/arch-boxes.git' dest="{{ archboxes_git_dir }}" force=yes version="{{ archboxes_version }}"
- name: load virtualbox kernel modules
modprobe: name="{{item}}" state=present
modprobe: name="{{ item }}" state=present
with_items: ['vboxdrv', 'vboxnetadp', 'vboxnetflt']
- name: add modules-load config for virtualbox
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment