From f520b2ec4cddec4b706b9502351e13f64283a7ea Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Tue, 20 Dec 2016 05:36:08 +0000 Subject: [PATCH] current --- tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 01b2066..8c7b24c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,8 +1,20 @@ --- +- setup: + gather_subset: "!all" + +- name: debian apt install packages + apt: + pkg: "{{ item }}" + state: installed + with_items: + - lvm2 + when: ansible_os_family == "Debian" + - name: logical volumes lvol: vg: "{{ item.volume_group }}" lv: "{{ item.name }}" size: "{{ item.size }}" + state: "{{ logical_volumes_state }}" with_items: "{{ logical_volumes }}"