From db698b595e7ff088c96d00ef5285a0d634aff1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 12 Dec 2022 22:15:01 +0100 Subject: refactor: pass ansible-lint with yaml header --- roles/vmm/tasks/autoinstall_configuration.yml | 2 ++ roles/vmm/tasks/disk.yml | 2 ++ roles/vmm/tasks/facts.yml | 2 ++ roles/vmm/tasks/iso.yml | 2 ++ roles/vmm/tasks/main.yml | 2 ++ roles/vmm/tasks/network.yml | 2 ++ 6 files changed, 12 insertions(+) (limited to 'roles/vmm/tasks') diff --git a/roles/vmm/tasks/autoinstall_configuration.yml b/roles/vmm/tasks/autoinstall_configuration.yml index 4eccb93..71ceb6d 100644 --- a/roles/vmm/tasks/autoinstall_configuration.yml +++ b/roles/vmm/tasks/autoinstall_configuration.yml @@ -1,3 +1,5 @@ +--- + - name: include httpd role variables ansible.builtin.include_vars: "{{ inventory_dir }}/roles/httpd/defaults/main.yml" diff --git a/roles/vmm/tasks/disk.yml b/roles/vmm/tasks/disk.yml index 01fdc48..5883402 100644 --- a/roles/vmm/tasks/disk.yml +++ b/roles/vmm/tasks/disk.yml @@ -1,3 +1,5 @@ +--- + - name: create disks ansible.builtin.command: cmd: vmctl create -s "{{ item.size }}" "{{ item.name }}.{{ vmm_disk_format }}" diff --git a/roles/vmm/tasks/facts.yml b/roles/vmm/tasks/facts.yml index c3ae20c..ef1bfa6 100644 --- a/roles/vmm/tasks/facts.yml +++ b/roles/vmm/tasks/facts.yml @@ -1,3 +1,5 @@ +--- + - name: generate lladdr variable for virtual machines ansible.builtin.set_fact: vmm_vms_tmp: > diff --git a/roles/vmm/tasks/iso.yml b/roles/vmm/tasks/iso.yml index 320e7ca..70ad593 100644 --- a/roles/vmm/tasks/iso.yml +++ b/roles/vmm/tasks/iso.yml @@ -1,3 +1,5 @@ +--- + - name: download latest iso files ansible.builtin.get_url: url: "{{ item.url }}" diff --git a/roles/vmm/tasks/main.yml b/roles/vmm/tasks/main.yml index 7e1359e..a7d4621 100644 --- a/roles/vmm/tasks/main.yml +++ b/roles/vmm/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: create vmm directories ansible.builtin.file: path: "{{ item }}" diff --git a/roles/vmm/tasks/network.yml b/roles/vmm/tasks/network.yml index 82f3597..6846c05 100644 --- a/roles/vmm/tasks/network.yml +++ b/roles/vmm/tasks/network.yml @@ -1,3 +1,5 @@ +--- + - name: start ip forwarding ansible.builtin.command: sysctl net.inet.ip{{ item }}.forwarding=1 loop: "{{ vmm_network_forwarded_ips }}" -- cgit v1.2.3