Files
decort-ansible/examples/decort_image/create-image.yaml

28 lines
695 B
YAML
Raw Normal View History

2022-07-11 15:48:02 +07:00
---
#
2026-02-11 13:50:28 +03:00
# DECORT image module example
2022-07-11 15:48:02 +07:00
#
- hosts: localhost
tasks:
- name: create
2026-02-11 13:50:28 +03:00
decort_image:
2022-07-11 15:48:02 +07:00
authenticator: oauth2
verify_ssl: False
controller_url: "https://ds1.digitalenergy.online"
state: present
image_name: "alpine_linux3.14.0"
account_Id: 12345
url: "https://dl-cdn.alpinelinux.org/alpine/v3.14/releases/x86_64/alpine-virt-3.14.0-x86_64.iso"
boottype: "uefi"
imagetype: "linux"
hotresize: False
image_username: "test"
image_password: "p@ssword"
usernameDL: "testDL"
passwordDL: "p@sswordDL"
architecture: "X86_64"
drivers: "KVM_X86"
delegate_to: localhost
register: simple_vm