This commit is contained in:
parent
1ad6766def
commit
dcb2cf443e
@ -13,12 +13,12 @@
|
|||||||
- name: Load variables
|
- name: Load variables
|
||||||
include_vars: "{{ ansible_os_family }}.yml"
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Add Virt-Manager programs
|
- name: Add virt-manager to list of kvm packages
|
||||||
set_fact:
|
set_fact:
|
||||||
kvm_package_names: "{{ kvm_package_names + kvm_vm_manager_package_names }}"
|
kvm_package_names: "{{ kvm_package_names + kvm_vm_manager_package_names }}"
|
||||||
when: kvm_virtual_machine_manager
|
when: kvm_virtual_machine_manager
|
||||||
|
|
||||||
- name: Install qemu with dependencies
|
- name: Install kvm packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
@ -41,7 +41,7 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: Append Unix user to Unix groups to interact with qemu/kvm
|
- name: Append unix user to unix groups to interact with qemu/kvm
|
||||||
user:
|
user:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
append: yes
|
append: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user