consolidation of old templates
This commit is contained in:
22
vagrant/hyperv/ubuntu/plain-with-cockpit/Vagrantfile
vendored
Executable file
22
vagrant/hyperv/ubuntu/plain-with-cockpit/Vagrantfile
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "generic/ubuntu2004"
|
||||
config.vm.network "public_network", bridge: "BRIDGE"
|
||||
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
||||
config.vm.provider "hyperv"
|
||||
config.vm.hostname = "ubuntu_plan-with-cockpit-1"
|
||||
|
||||
config.vm.provider "hyperv" do |h|
|
||||
h.enable_virtualization_extensions = false
|
||||
h.linked_clone = true
|
||||
h.memory = 2048
|
||||
h.vmname = "ubuntu_plan-with-cockpit-1"
|
||||
end
|
||||
|
||||
config.vm.provision "ansible" do |a|
|
||||
a.verbose = "v"
|
||||
a.playbook = "playbook.yaml"
|
||||
end
|
||||
end
|
||||
8
vagrant/hyperv/ubuntu/plain-with-cockpit/playbook.yaml
Executable file
8
vagrant/hyperv/ubuntu/plain-with-cockpit/playbook.yaml
Executable file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: install cockpit
|
||||
apt:
|
||||
name: cockpit
|
||||
update_cache: yes
|
||||
Reference in New Issue
Block a user