22 lines
586 B
YAML
22 lines
586 B
YAML
---
|
|
- name: configure instance
|
|
hosts: vmhost
|
|
user: root
|
|
gather_facts: true
|
|
|
|
vars_files:
|
|
- "{{ ansible_private }}/vars.yml"
|
|
|
|
roles:
|
|
- base
|
|
- kvm_host
|
|
|
|
tasks:
|
|
- name: fetch rocky linux install image
|
|
get_url:
|
|
dest: /var/lib/libvirt/images/Rocky-8.5-x86_64-minimal.iso
|
|
url: https://nic.funet.fi/pub/mirrors/rockylinux.org/8.5/Minimal/x86_64/iso/Rocky-8.5-x86_64-minimal.iso
|
|
checksum: sha256:4eb2ae6b06876205f2209e4504110fe4115b37540c21ecfbbc0ebc11084cb779
|
|
mode: 0644
|
|
owner: root
|
|
group: "{{ ansible_wheel }}"
|