From 3769491d2e53b60920d005a130982a5e4388b4a7 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Wed, 30 Aug 2017 22:17:35 +0000 Subject: [PATCH] current --- tasks/main.yml | 5 ++--- tasks/{debian.yml => setup_Debian.yml} | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) rename tasks/{debian.yml => setup_Debian.yml} (89%) diff --git a/tasks/main.yml b/tasks/main.yml index ebde88b..3bd8cf8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,8 +3,7 @@ - setup: gather_subset: "!all" -- name: debian - include: debian.yml +- include: setup_Debian.yml when: ansible_os_family == "Debian" #- include: gdisk.yml @@ -20,5 +19,5 @@ command: sync - name: reread partition tables - command: hdparm -z {{ item.device }} + command: partprobe {{ item.device }} with_items: "{{ hard_disks }}" diff --git a/tasks/debian.yml b/tasks/setup_Debian.yml similarity index 89% rename from tasks/debian.yml rename to tasks/setup_Debian.yml index a57a8c3..e745e64 100644 --- a/tasks/debian.yml +++ b/tasks/setup_Debian.yml @@ -5,5 +5,4 @@ pkg: "{{ item }}" state: installed with_items: - - hdparm - parted