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
--- ---
- name: install arch-boxes dependencies - 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 - name: create arch-boxes user
user: name={{ archboxes_user }} shell=/bin/bash home="{{ archboxes_home }}" createhome=yes user: name={{ archboxes_user }} shell=/bin/bash home="{{ archboxes_home }}" createhome=yes
- name: clone arch-boxes repository - 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 - name: load virtualbox kernel modules
modprobe: name="{{item}}" state=present modprobe: name="{{ item }}" state=present
with_items: ['vboxdrv', 'vboxnetadp', 'vboxnetflt'] with_items: ['vboxdrv', 'vboxnetadp', 'vboxnetflt']
- name: add modules-load config for virtualbox - name: add modules-load config for virtualbox
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment