1
0

begin disk config

This commit is contained in:
michael 2022-10-31 00:56:06 +13:00
parent 263907032b
commit c8abd13f86
3 changed files with 25 additions and 7 deletions

View File

@ -1,10 +1,10 @@
--- ---
- name: create the vms # - name: create the vms
hosts: hv00 # hosts: hv00
gather_facts: true # gather_facts: true
become: true # become: true
roles: # roles:
- vm_deploy # - vm_deploy
# - name: python bootstrap # - name: python bootstrap
# hosts: k8s # hosts: k8s
@ -20,3 +20,10 @@
# roles: # roles:
# - sshd # - sshd
# - firewall # - firewall
- name: configure vm disks
hosts: k8s
gather_facts: true
become: true
roles:
- vm_disks

View File

@ -0,0 +1 @@
---

View File

@ -0,0 +1,10 @@
---
- name: create gpt labels
community.general.parted:
device: "{{ item }}"
label: gpt
with_items:
- /dev/vdb
- /dev/vdc
- /dev/vdd