ansible-lint fixes for host group playbooks

This commit is contained in:
Timo Makinen 2022-10-31 18:02:19 +00:00
parent 112d51c67f
commit 2e97e2af9e
28 changed files with 281 additions and 204 deletions

View file

@ -1,5 +1,5 @@
---
- name: configure instance
- name: Configure instance
hosts: vmhost
user: root
gather_facts: true
@ -8,8 +8,8 @@
- "{{ ansible_private }}/vars.yml"
pre_tasks:
- name: mount /export/libvirt/hdd
ansible.builtin.mount:
- name: Mount /export/libvirt/hdd
ansible.posix.mount:
name: /export/libvirt/hdd
src: LABEL=hdd
fstype: xfs
@ -17,8 +17,8 @@
passno: "0"
dump: "0"
state: mounted
- name: mount /export/libvirt/nvme
ansible.builtin.mount:
- name: Mount /export/libvirt/nvme
ansible.posix.mount:
name: /export/libvirt/nvme
src: LABEL=nvme
fstype: xfs
@ -26,8 +26,8 @@
passno: "0"
dump: "0"
state: mounted
- name: mount /export/libvirt/ssd
ansible.builtin.mount:
- name: Mount /export/libvirt/ssd
ansible.posix.mount:
name: /export/libvirt/ssd
src: LABEL=ssd
fstype: xfs