Addresses issue #10

Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
This commit is contained in:
Larry Smith Jr
2017-06-11 14:57:53 -04:00
parent 26ed7d826c
commit 386cc28bdb
7 changed files with 295 additions and 274 deletions
+11 -7
View File
@@ -1,19 +1,23 @@
---
- name: centos | installing lvm2
yum:
name: lvm2
state: present
name: "lvm2"
state: "present"
become: true
- name: centos | installing sg3_utils
yum:
name: sg3_utils
state: present
name: "sg3_utils"
state: "present"
become: true
- name: centos | checking for scsi devices
shell: sg_scan
register: scsi_devices
shell: "sg_scan"
become: true
register: "scsi_devices"
changed_when: False
- name: centos | rescanning for new disks
command: /usr/bin/rescan-scsi-bus.sh
command: "/usr/bin/rescan-scsi-bus.sh"
become: true
changed_when: False