From 52ea6588ba44524e715a719316f480a2dc070cc3 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 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 211bbe0..02c4976 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: volume groups lvg: vg: "{{ item.name }}" pvs: "{{ item.devices | join(',') }}" - state: present + state: "{{ volume_groups_state }}" with_items: "{{ volume_groups }}" +