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,14 +1,16 @@
---
- import_playbook: "include/deploy-kvm-guest.yml myhosts=log"
- name: Deploy KVM virtual machines
ansible.builtin.import_playbook: >-
include/deploy-kvm-guest.yml myhosts=log
- name: configure instance
- name: Configure instance
hosts: log
user: root
gather_facts: true
pre_tasks:
- name: mount /export
mount:
- name: Mount /export
ansible.posix.mount:
name: /export
src: /dev/sd1a
fstype: ffs
@ -25,8 +27,8 @@
- web_logs
tasks:
- name: install extra packages
package:
- name: Install extra packages
ansible.builtin.package:
name: "{{ package }}"
state: installed
with_items: