kvm_host: ansible-lint fixes
This commit is contained in:
parent
cca42edc90
commit
8d27504254
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: disable bluetooth
|
- name: Disable bluetooth
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/modprobe.d/disable-bluetooth.conf
|
dest: /etc/modprobe.d/disable-bluetooth.conf
|
||||||
content: |
|
content: |
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
||||||
- name: install kvm qemu packages
|
- name: Install kvm qemu packages
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: installed
|
state: installed
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
- virt-install
|
- virt-install
|
||||||
- virt-top
|
- virt-top
|
||||||
|
|
||||||
- name: create data directories
|
- name: Create data directories
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
- /export/libvirt/hdd
|
- /export/libvirt/hdd
|
||||||
- /export/libvirt/ssd
|
- /export/libvirt/ssd
|
||||||
|
|
||||||
- name: link data directory
|
- name: Link data directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
src: /export/libvirt
|
src: /export/libvirt
|
||||||
dest: /srv/libvirt
|
dest: /srv/libvirt
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
follow: false
|
follow: false
|
||||||
|
|
||||||
- name: enable libvirt service
|
- name: Enable libvirt service
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: libvirtd
|
name: libvirtd
|
||||||
state: started
|
state: started
|
||||||
|
|
Loading…
Add table
Reference in a new issue