Initial commit: Add Vagrant, Ansible playbook, inventory and README
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"dependencies":[["vagrant-vmware-desktop",["= 3.0.5"]]],"checksum":"c23fdd912c03a9ac8b48989ca37d5179e15e9fbfd3e34e22e43a61f063cd2003","vagrant_version":"2.4.7"}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+30
@@ -0,0 +1,30 @@
|
||||
# Disk DescriptorFile
|
||||
version=1
|
||||
encoding="UTF-8"
|
||||
CID=044a7b6e
|
||||
parentCID=044a7b6e
|
||||
createType="twoGbMaxExtentSparse"
|
||||
parentFileNameHint="/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop/disk.vmdk"
|
||||
# Extent description
|
||||
RW 8323072 SPARSE "disk-cl1-s001.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s002.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s003.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s004.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s005.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s006.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s007.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s008.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s009.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s010.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s011.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s012.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s013.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s014.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s015.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s016.vmdk"
|
||||
RW 1048576 SPARSE "disk-cl1-s017.vmdk"
|
||||
|
||||
# The Disk Data Base
|
||||
#DDB
|
||||
|
||||
ddb.fcd.uuid = "00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00"
|
||||
+1
@@ -0,0 +1 @@
|
||||
6489c0e6-6448-475a-bd28-3ae4d11a0a4f
|
||||
+1
@@ -0,0 +1 @@
|
||||
/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop/ubuntu-22.04-aarch64.vmx
|
||||
BIN
Binary file not shown.
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>disallowUpgrade</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
.encoding = "UTF-8"
|
||||
cloneOf0 = "/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop/ubuntu-22.04-aarch64.vmx"
|
||||
numCloneOf = "1"
|
||||
sentinel0 = "disk-cl1.vmdk"
|
||||
numSentinels = "1"
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
.encoding = "UTF-8"
|
||||
bios.bootorder = "hdd,cdrom"
|
||||
checkpoint.vmstate = ""
|
||||
cleanshutdown = "TRUE"
|
||||
config.version = "8"
|
||||
cpuid.corespersocket = "2"
|
||||
displayname = "vagrant: default"
|
||||
ehci.pcislotnumber = "-1"
|
||||
ehci.present = "FALSE"
|
||||
extendedconfigfile = "ubuntu-22.04-aarch64.vmxf"
|
||||
filesearchpath = ".;/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop"
|
||||
firmware = "efi"
|
||||
floppy0.present = "FALSE"
|
||||
guestinfo.detailed.data = "architecture='Arm' bitness='64' distroAddlVersion='22.04.5 LTS (Jammy Jellyfish)' distroName='Ubuntu' distroVersion='22.04' familyName='Linux' kernelVersion='5.15.0-133-generic' prettyName='Ubuntu 22.04.5 LTS'"
|
||||
guestos = "arm-ubuntu-64"
|
||||
gui.fullscreenatpoweron = "FALSE"
|
||||
gui.viewmodeatpoweron = "windowed"
|
||||
hgfs.linkrootshare = "TRUE"
|
||||
hgfs.maprootshare = "TRUE"
|
||||
hpet0.present = "TRUE"
|
||||
invmteam = "FALSE"
|
||||
isolation.tools.hgfs.disable = "FALSE"
|
||||
memsize = "4096"
|
||||
monitor.phys_bits_used = "36"
|
||||
msg.autoanswer = "true"
|
||||
numa.autosize.cookie = "20022"
|
||||
numa.autosize.vcpu.maxpervirtualnode = "2"
|
||||
numvcpus = "2"
|
||||
nvme0.present = "FALSE"
|
||||
nvram = "ubuntu-22.04-aarch64.nvram"
|
||||
parallel0.autodetect = "FALSE"
|
||||
parallel0.bidirectional = ""
|
||||
parallel0.filename = ""
|
||||
parallel0.present = "FALSE"
|
||||
parallel0.startconnected = "FALSE"
|
||||
pcibridge0.pcislotnumber = "17"
|
||||
pcibridge0.present = "TRUE"
|
||||
pcibridge4.functions = "8"
|
||||
pcibridge4.pcislotnumber = "21"
|
||||
pcibridge4.present = "TRUE"
|
||||
pcibridge4.virtualdev = "pcieRootPort"
|
||||
pcibridge5.functions = "8"
|
||||
pcibridge5.pcislotnumber = "22"
|
||||
pcibridge5.present = "TRUE"
|
||||
pcibridge5.virtualdev = "pcieRootPort"
|
||||
pcibridge6.functions = "8"
|
||||
pcibridge6.pcislotnumber = "23"
|
||||
pcibridge6.present = "TRUE"
|
||||
pcibridge6.virtualdev = "pcieRootPort"
|
||||
pcibridge7.functions = "8"
|
||||
pcibridge7.pcislotnumber = "24"
|
||||
pcibridge7.present = "TRUE"
|
||||
pcibridge7.virtualdev = "pcieRootPort"
|
||||
policy.vm.mvmtid = ""
|
||||
powertype.poweroff = "soft"
|
||||
powertype.poweron = "soft"
|
||||
powertype.reset = "soft"
|
||||
powertype.suspend = "soft"
|
||||
proxyapps.publishtohost = "FALSE"
|
||||
remotedisplay.vnc.enabled = "FALSE"
|
||||
remotedisplay.vnc.ip = "127.0.0.1"
|
||||
remotedisplay.vnc.port = "5939"
|
||||
replay.filename = ""
|
||||
replay.supported = "FALSE"
|
||||
sata0.pcislotnumber = "32"
|
||||
sata0.present = "TRUE"
|
||||
sata0:0.filename = "disk-cl1.vmdk"
|
||||
sata0:0.present = "TRUE"
|
||||
sata0:0.redo = ""
|
||||
sata0:1.clientdevice = "TRUE"
|
||||
sata0:1.devicetype = "cdrom-raw"
|
||||
sata0:1.filename = "auto detect"
|
||||
sata0:1.present = "TRUE"
|
||||
scsi0.pcislotnumber = "16"
|
||||
scsi0.present = "FALSE"
|
||||
scsi0.virtualdev = "lsilogic"
|
||||
scsi0:0.redo = ""
|
||||
serial0.autodetect = "FALSE"
|
||||
serial0.filename = ""
|
||||
serial0.filetype = ""
|
||||
serial0.pipe.endpoint = ""
|
||||
serial0.present = "FALSE"
|
||||
serial0.startconnected = "FALSE"
|
||||
serial0.trynorxloss = ""
|
||||
serial0.yieldonmsrread = ""
|
||||
softpoweroff = "TRUE"
|
||||
sound.autodetect = "TRUE"
|
||||
sound.filename = "-1"
|
||||
sound.present = "FALSE"
|
||||
sound.startconnected = "FALSE"
|
||||
svga.autodetect = "true"
|
||||
svga.guestbackedprimaryaware = "TRUE"
|
||||
svga.vramsize = "268435456"
|
||||
tools.capability.verifiedsamltoken = "TRUE"
|
||||
tools.synctime = "TRUE"
|
||||
tools.upgrade.policy = "upgradeAtPowerCycle"
|
||||
usb.pcislotnumber = "-1"
|
||||
usb.present = "FALSE"
|
||||
usb_xhci.pcislotnumber = "192"
|
||||
usb_xhci.present = "true"
|
||||
usb_xhci:4.devicetype = "hid"
|
||||
usb_xhci:4.parent = "-1"
|
||||
usb_xhci:4.port = "4"
|
||||
usb_xhci:4.present = "TRUE"
|
||||
usb_xhci:6.devicetype = "hub"
|
||||
usb_xhci:6.parent = "-1"
|
||||
usb_xhci:6.port = "6"
|
||||
usb_xhci:6.present = "TRUE"
|
||||
usb_xhci:6.speed = "2"
|
||||
usb_xhci:7.devicetype = "hub"
|
||||
usb_xhci:7.parent = "-1"
|
||||
usb_xhci:7.port = "7"
|
||||
usb_xhci:7.present = "TRUE"
|
||||
usb_xhci:7.speed = "4"
|
||||
uuid.action = "create"
|
||||
uuid.bios = ""
|
||||
uuid.location = ""
|
||||
vc.uuid = ""
|
||||
vhv.enable = "FALSE"
|
||||
virtualhw.productcompatibility = "hosted"
|
||||
virtualhw.version = "21"
|
||||
vmci0.id = "1861462627"
|
||||
vmci0.pcislotnumber = "35"
|
||||
vmci0.present = "TRUE"
|
||||
vmotion.checkpointfbsize = "134217728"
|
||||
vmotion.checkpointsvgaprimarysize = "268435456"
|
||||
vmotion.svga.graphicsmemorykb = "262144"
|
||||
vmotion.svga.mobmaxsize = "268435456"
|
||||
vmxstats.filename = "ubuntu-22.04-aarch64.scoreboard"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<Foundry>
|
||||
<VM>
|
||||
<ClientMetaData>
|
||||
<clientMetaDataAttributes/>
|
||||
<HistoryEventList/></ClientMetaData>
|
||||
<VMId type="string">52 34 e1 b4 ba af 74 7f-2b f1 85 05 4f 82 ee e1</VMId>
|
||||
<vmxPathName type="string">ubuntu-22.04-aarch64.vmx</vmxPathName></VM></Foundry>
|
||||
@@ -0,0 +1 @@
|
||||
501
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/chosesoft/vagrant/.vagrant/machines/default/vmware_fusion/6489c0e6-6448-475a-bd28-3ae4d11a0a4f/ubuntu-22.04-aarch64.vmx
|
||||
@@ -0,0 +1 @@
|
||||
4d07d7607d3246d69b49aa89541738bb
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/chosesoft/vagrant
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+31
@@ -0,0 +1,31 @@
|
||||
# Disk DescriptorFile
|
||||
version=1
|
||||
encoding="UTF-8"
|
||||
CID=4bec7c80
|
||||
parentCID=044a7b6e
|
||||
createType="twoGbMaxExtentSparse"
|
||||
parentFileNameHint="/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop/disk-000001.vmdk"
|
||||
# Extent description
|
||||
RW 8323072 SPARSE "disk-cl1-s001.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s002.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s003.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s004.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s005.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s006.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s007.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s008.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s009.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s010.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s011.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s012.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s013.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s014.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s015.vmdk"
|
||||
RW 8323072 SPARSE "disk-cl1-s016.vmdk"
|
||||
RW 1048576 SPARSE "disk-cl1-s017.vmdk"
|
||||
|
||||
# The Disk Data Base
|
||||
#DDB
|
||||
|
||||
ddb.fcd.uuid = "00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00"
|
||||
ddb.longContentID = "aa615986e125ed09b0fecc4b4bec7c80"
|
||||
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
55486694-c5ae-47a5-adde-9d8da1e4dcbe
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop/ubuntu-22.04-aarch64.vmx
|
||||
BIN
Binary file not shown.
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>disallowUpgrade</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
.encoding = "UTF-8"
|
||||
cloneOf0 = "/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop/ubuntu-22.04-aarch64.vmx"
|
||||
numCloneOf = "1"
|
||||
sentinel0 = "disk-cl1.vmdk"
|
||||
numSentinels = "1"
|
||||
.vagrant/machines/kube01/vmware_fusion/55486694-c5ae-47a5-adde-9d8da1e4dcbe/ubuntu-22.04-aarch64.vmx
Executable
+144
@@ -0,0 +1,144 @@
|
||||
.encoding = "UTF-8"
|
||||
bios.bootorder = "hdd,cdrom"
|
||||
checkpoint.vmstate = ""
|
||||
cleanshutdown = "FALSE"
|
||||
config.version = "8"
|
||||
cpuid.corespersocket = "2"
|
||||
displayname = "vagrant: kube01"
|
||||
ehci.pcislotnumber = "-1"
|
||||
ehci.present = "FALSE"
|
||||
ethernet0.addresstype = "generated"
|
||||
ethernet0.connectiontype = "nat"
|
||||
ethernet0.present = "TRUE"
|
||||
ethernet0.virtualdev = "e1000e"
|
||||
extendedconfigfile = "ubuntu-22.04-aarch64.vmxf"
|
||||
filesearchpath = ".;/Users/xchose/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop"
|
||||
firmware = "efi"
|
||||
floppy0.present = "FALSE"
|
||||
guestinfo.detailed.data = "architecture='Arm' bitness='64' distroAddlVersion='22.04.5 LTS (Jammy Jellyfish)' distroName='Ubuntu' distroVersion='22.04' familyName='Linux' kernelVersion='5.15.0-133-generic' prettyName='Ubuntu 22.04.5 LTS'"
|
||||
guestos = "arm-ubuntu-64"
|
||||
gui.fullscreenatpoweron = "FALSE"
|
||||
gui.viewmodeatpoweron = "windowed"
|
||||
hgfs.linkrootshare = "TRUE"
|
||||
hgfs.maprootshare = "TRUE"
|
||||
hpet0.present = "TRUE"
|
||||
isolation.tools.hgfs.disable = "FALSE"
|
||||
memsize = "2048"
|
||||
monitor.phys_bits_used = "36"
|
||||
msg.autoanswer = "true"
|
||||
numa.autosize.cookie = "20022"
|
||||
numa.autosize.vcpu.maxpervirtualnode = "2"
|
||||
numvcpus = "2"
|
||||
nvme0.present = "FALSE"
|
||||
nvram = "ubuntu-22.04-aarch64.nvram"
|
||||
parallel0.autodetect = "FALSE"
|
||||
parallel0.bidirectional = ""
|
||||
parallel0.filename = ""
|
||||
parallel0.present = "FALSE"
|
||||
parallel0.startconnected = "FALSE"
|
||||
pcibridge0.pcislotnumber = "17"
|
||||
pcibridge0.present = "TRUE"
|
||||
pcibridge4.functions = "8"
|
||||
pcibridge4.pcislotnumber = "21"
|
||||
pcibridge4.present = "TRUE"
|
||||
pcibridge4.virtualdev = "pcieRootPort"
|
||||
pcibridge5.functions = "8"
|
||||
pcibridge5.pcislotnumber = "22"
|
||||
pcibridge5.present = "TRUE"
|
||||
pcibridge5.virtualdev = "pcieRootPort"
|
||||
pcibridge6.functions = "8"
|
||||
pcibridge6.pcislotnumber = "23"
|
||||
pcibridge6.present = "TRUE"
|
||||
pcibridge6.virtualdev = "pcieRootPort"
|
||||
pcibridge7.functions = "8"
|
||||
pcibridge7.pcislotnumber = "24"
|
||||
pcibridge7.present = "TRUE"
|
||||
pcibridge7.virtualdev = "pcieRootPort"
|
||||
policy.vm.mvmtid = ""
|
||||
powertype.poweroff = "soft"
|
||||
powertype.poweron = "soft"
|
||||
powertype.reset = "soft"
|
||||
powertype.suspend = "soft"
|
||||
proxyapps.publishtohost = "FALSE"
|
||||
remotedisplay.vnc.enabled = "FALSE"
|
||||
remotedisplay.vnc.ip = "127.0.0.1"
|
||||
remotedisplay.vnc.port = "5939"
|
||||
replay.filename = ""
|
||||
replay.supported = "FALSE"
|
||||
sata0.pcislotnumber = "32"
|
||||
sata0.present = "TRUE"
|
||||
sata0:0.filename = "disk-cl1.vmdk"
|
||||
sata0:0.present = "TRUE"
|
||||
sata0:0.redo = ""
|
||||
sata0:1.clientdevice = "TRUE"
|
||||
sata0:1.devicetype = "cdrom-raw"
|
||||
sata0:1.filename = "auto detect"
|
||||
sata0:1.present = "TRUE"
|
||||
scsi0.pcislotnumber = "16"
|
||||
scsi0.present = "FALSE"
|
||||
scsi0.virtualdev = "lsilogic"
|
||||
scsi0:0.redo = ""
|
||||
serial0.autodetect = "FALSE"
|
||||
serial0.filename = ""
|
||||
serial0.filetype = ""
|
||||
serial0.pipe.endpoint = ""
|
||||
serial0.present = "FALSE"
|
||||
serial0.startconnected = "FALSE"
|
||||
serial0.trynorxloss = ""
|
||||
serial0.yieldonmsrread = ""
|
||||
sharedfolder.maxnum = "1"
|
||||
softpoweroff = "FALSE"
|
||||
sound.autodetect = "TRUE"
|
||||
sound.filename = "-1"
|
||||
sound.present = "FALSE"
|
||||
sound.startconnected = "FALSE"
|
||||
svga.autodetect = "true"
|
||||
svga.guestbackedprimaryaware = "TRUE"
|
||||
svga.vramsize = "268435456"
|
||||
tools.capability.verifiedsamltoken = "TRUE"
|
||||
tools.synctime = "TRUE"
|
||||
tools.upgrade.policy = "upgradeAtPowerCycle"
|
||||
usb.pcislotnumber = "-1"
|
||||
usb.present = "FALSE"
|
||||
usb_xhci.pcislotnumber = "192"
|
||||
usb_xhci.present = "true"
|
||||
usb_xhci:6.devicetype = "hub"
|
||||
usb_xhci:6.parent = "-1"
|
||||
usb_xhci:6.port = "6"
|
||||
usb_xhci:6.present = "TRUE"
|
||||
usb_xhci:6.speed = "2"
|
||||
usb_xhci:7.devicetype = "hub"
|
||||
usb_xhci:7.parent = "-1"
|
||||
usb_xhci:7.port = "7"
|
||||
usb_xhci:7.present = "TRUE"
|
||||
usb_xhci:7.speed = "4"
|
||||
uuid.action = "create"
|
||||
uuid.bios = "56 4d 51 36 09 4f b2 34-95 17 22 c5 5b 28 0f 27"
|
||||
uuid.location = "56 4d 51 36 09 4f b2 34-95 17 22 c5 5b 28 0f 27"
|
||||
vc.uuid = ""
|
||||
vhv.enable = "FALSE"
|
||||
virtualhw.productcompatibility = "hosted"
|
||||
virtualhw.version = "21"
|
||||
vmci0.id = "1861462627"
|
||||
vmci0.pcislotnumber = "35"
|
||||
vmci0.present = "TRUE"
|
||||
vmotion.checkpointfbsize = "4194304"
|
||||
vmotion.checkpointsvgaprimarysize = "268435456"
|
||||
vmotion.svga.graphicsmemorykb = "262144"
|
||||
vmotion.svga.mobmaxsize = "268435456"
|
||||
vmxstats.filename = "ubuntu-22.04-aarch64.scoreboard"
|
||||
sata0:1.autodetect = "TRUE"
|
||||
ethernet0.pciSlotNumber = "160"
|
||||
ethernet0.generatedAddress = "00:0c:29:28:0f:27"
|
||||
ethernet0.generatedAddressOffset = "0"
|
||||
usb_xhci:4.present = "TRUE"
|
||||
usb_xhci:4.deviceType = "hid"
|
||||
usb_xhci:4.port = "4"
|
||||
usb_xhci:4.parent = "-1"
|
||||
sharedFolder0.present = "TRUE"
|
||||
sharedFolder0.enabled = "TRUE"
|
||||
sharedFolder0.readAccess = "TRUE"
|
||||
sharedFolder0.writeAccess = "TRUE"
|
||||
sharedFolder0.hostPath = "/Users/xchose/chosesoft/vagrant"
|
||||
sharedFolder0.guestName = "-vagrant"
|
||||
sharedFolder0.expiration = "never"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<Foundry>
|
||||
<VM>
|
||||
<ClientMetaData>
|
||||
<clientMetaDataAttributes/>
|
||||
<HistoryEventList/></ClientMetaData>
|
||||
<VMId type="string">52 07 f0 a6 7c 09 e0 5e-33 56 b2 4c c0 7f f8 6a</VMId>
|
||||
<vmxPathName type="string">ubuntu-22.04-aarch64.vmx</vmxPathName></VM></Foundry>
|
||||
+1566
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
1.5:/Users/xchose/chosesoft/vagrant/.vagrant/machines/kube01/vmware_fusion/55486694-c5ae-47a5-adde-9d8da1e4dcbe/ubuntu-22.04-aarch64.vmx
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"bento/ubuntu-22.04","version":"202502.21.0","provider":"vmware_desktop","directory":"boxes/bento-VAGRANTSLASH-ubuntu-22.04/202502.21.0/arm64/vmware_desktop"}
|
||||
@@ -0,0 +1 @@
|
||||
501
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1 @@
|
||||
{"2222":22}
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/chosesoft/vagrant/.vagrant/machines/kube01/vmware_fusion/55486694-c5ae-47a5-adde-9d8da1e4dcbe/ubuntu-22.04-aarch64.vmx
|
||||
@@ -0,0 +1 @@
|
||||
4d57e89e0a5045b3a15f4c624f4300de
|
||||
@@ -0,0 +1,8 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
|
||||
AAtzc2gtZWQyNTUxOQAAACDadxQ04++p1JY0Sf8U1jlvxFpBPYtWPTiV3BLr
|
||||
A+SqZwAAAJApUrmaKVK5mgAAAAtzc2gtZWQyNTUxOQAAACDadxQ04++p1JY0
|
||||
Sf8U1jlvxFpBPYtWPTiV3BLrA+SqZwAAAEBd4G3UQNr00PP6ML3bmOcIGYV+
|
||||
QnyQicASKZ6xR4vSztp3FDTj76nUljRJ/xTWOW/EWkE9i1Y9OJXcEusD5Kpn
|
||||
AAAAB3ZhZ3JhbnQBAgMEBQY=
|
||||
-----END OPENSSH PRIVATE KEY-----
|
||||
@@ -0,0 +1 @@
|
||||
{"vmware":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/Users/xchose/chosesoft/vagrant","disabled":false,"__vagrantfile":true,"owner":"vagrant","group":"vagrant"}}}
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/chosesoft/vagrant
|
||||
@@ -0,0 +1,3 @@
|
||||
# Generated by Vagrant
|
||||
|
||||
kube01 ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user='vagrant' ansible_ssh_private_key_file='/Users/xchose/chosesoft/vagrant/.vagrant/machines/kube01/vmware_fusion/private_key'
|
||||
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
# This file loads the proper rgloader/loader.rb file that comes packaged
|
||||
# with Vagrant so that encoded files can properly run with Vagrant.
|
||||
|
||||
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
|
||||
require File.expand_path(
|
||||
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
|
||||
else
|
||||
raise "Encoded files can't be read outside of the Vagrant installer."
|
||||
end
|
||||
@@ -0,0 +1,118 @@
|
||||
# README.md
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
/
|
||||
├── Vagrantfile
|
||||
├── vytvor_uzivatele.yml
|
||||
└── hosts
|
||||
```
|
||||
|
||||
- **Vagrantfile** – Defines the virtual machine.
|
||||
- **vytvor_uzivatele.yml** – Ansible playbook for creating a user.
|
||||
- **hosts** – Ansible inventory (used for manual runs).
|
||||
|
||||
---
|
||||
|
||||
## 1. Starting the VM with Vagrant
|
||||
|
||||
### First Boot or VM Creation
|
||||
|
||||
```
|
||||
vagrant up
|
||||
```
|
||||
|
||||
- This command downloads the required box (e.g., `bento/ubuntu-22.04`), creates, and starts the VM as defined in your Vagrantfile.
|
||||
- If you have configured Ansible as a provisioner in the Vagrantfile, the playbook will run automatically after the VM is created.
|
||||
|
||||
### Re-running Provisioning
|
||||
|
||||
If you want to re-run provisioning (for example, after editing the playbook):
|
||||
|
||||
```
|
||||
vagrant provision
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 2. Running Ansible Manually
|
||||
|
||||
If you prefer more control, you can run Ansible manually.
|
||||
|
||||
### Step 1: Start the VM
|
||||
|
||||
```
|
||||
vagrant up
|
||||
```
|
||||
|
||||
### Step 2: Get SSH Connection Details
|
||||
|
||||
```
|
||||
vagrant ssh-config kube01
|
||||
```
|
||||
|
||||
- Copy the relevant values into the `hosts` inventory file if they are not already set.
|
||||
|
||||
### Step 3: Run the Ansible Playbook
|
||||
|
||||
```
|
||||
ansible-playbook -i hosts vytvor_uzivatele.yml
|
||||
```
|
||||
|
||||
- This command will execute the tasks defined in the playbook on your VM.
|
||||
|
||||
---
|
||||
|
||||
## 3. Example Files
|
||||
|
||||
### Vagrantfile (with Ansible provisioner)
|
||||
|
||||
```
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.define "kube01" do |kube01|
|
||||
kube01.vm.box = "bento/ubuntu-22.04"
|
||||
kube01.vm.hostname = "kube01"
|
||||
kube01.vm.provider "vmware_fusion" do |v|
|
||||
v.gui = false
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
end
|
||||
kube01.vm.provision "ansible" do |ansible|
|
||||
ansible.playbook = "vytvor_uzivatele.yml"
|
||||
ansible.verbose = true
|
||||
end
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
### vytvor_uzivatele.yml
|
||||
|
||||
```
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Add user "novyuzivatel"
|
||||
user:
|
||||
name: novyuzivatel
|
||||
shell: /bin/bash
|
||||
create_home: yes
|
||||
```
|
||||
|
||||
### hosts (inventory for manual run)
|
||||
|
||||
```
|
||||
[kube]
|
||||
kube01 ansible_host=127.0.0.1 ansible_port=2222 ansible_user=vagrant ansible_ssh_private_key_file=.vagrant/machines/kube01/vmware_fusion/private_key
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Summary
|
||||
|
||||
- **Automatic:** Run `vagrant up` (or `vagrant provision`) and everything will be handled automatically.
|
||||
- **Manual:** First run `vagrant up`, then run `ansible-playbook -i hosts vytvor_uzivatele.yml`.
|
||||
|
||||
This setup allows you to easily manage your VM and automate tasks using both Vagrant and Ansible.
|
||||
```
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.define "kube01" do |kube01|
|
||||
kube01.vm.box = "bento/ubuntu-22.04"
|
||||
kube01.vm.hostname = "kube01"
|
||||
|
||||
kube01.vm.provider "vmware_fusion" do |v|
|
||||
v.gui = false
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
end
|
||||
|
||||
kube01.vm.provision "ansible" do |ansible|
|
||||
ansible.playbook = "vytvor_uzivatele.yml"
|
||||
ansible.verbose = true
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
[kube]
|
||||
kube01 ansible_host=127.0.0.1 ansible_port=2222 ansible_user=vagrant ansible_ssh_private_key_file=.vagrant/machines/kube01/vmware_fusion/private_key
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Přidat uživatele "novyuzivatel"
|
||||
user:
|
||||
name: novyuzivatel
|
||||
shell: /bin/bash
|
||||
create_home: yes
|
||||
Reference in New Issue
Block a user