Skip to content
Snippets Groups Projects
Commit 49210ba7 authored by Jens Heidbüchel's avatar Jens Heidbüchel
Browse files

First ubuntu attempt

parent f342b4a1
No related branches found
No related tags found
No related merge requests found
*.retry *.retry
*.un~ *.un~
/*.log
/.vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
##### Ubuntu 14.04
#config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
config.vm.define "desktop" do |desktop|
desktop.vm.hostname = "desktop.jens.privat"
desktop.vm.network "private_network", ip: "192.168.23.25"
desktop.vm.provision "shell" do |shell|
shell.inline = "apt-get update > /dev/null && apt-get -y install python > /dev/null"
end
desktop.vm.provision "ansible" do |ansible|
ansible.limit = "all"
ansible.playbook = "local.yml"
end
end
end
---
ubuntu_packages:
- ubuntu-desktop
---
- name: Install packages
apt:
name: "{{ item }}"
state: latest
update_cache: yes
cache_valid_time: 3600
with_items: "{{ ubuntu_packages }}"
become: True
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