Compare commits

...

10 Commits

Author SHA1 Message Date
Larry Smith Jr fe860566ba Merge pull request #27 from smutel/bug-resize-xfs
bug: Resize XFS parts is not working
2019-11-18 00:31:27 -05:00
Samuel Mutel d8b3a4e932 bug: Resize XFS parts is not working 2019-10-14 12:21:03 +02:00
Larry Smith Jr fc49e1d7b1 Merge pull request #25 from emper0r/patch-1
Update debian.yml
2019-06-27 07:38:12 -04:00
Tony Peña b15ecea51d Update debian.yml
Since ansible 2.8.0 must be change way using dict
2019-06-26 14:56:13 +02:00
Larry Smith Jr 092546c501 Merge pull request #24 from mikap83/patch-1
issue #23: extra parenthesis
2019-04-08 08:31:45 -04:00
Michele Caputo 9788ee5df6 issue #23: extra parenthesis 2019-04-08 14:16:04 +02:00
faisalnizam 0f428a0e40 FIX LINT FOR BUILD
FIX LINT FOR BUILD
2019-04-03 08:36:49 -04:00
faisalnizam 8957630c04 Adding SWAP FileSystem Exception
Adding Check for SWAP Filesystem if defined skip 
1. SKIP New Filesystem Creation 
2. SKIP mountpoint check
2019-04-03 08:36:49 -04:00
Larry Smith Jr bd866078da Merge pull request #22 from mrlesmithjr/issue#21
Resolves #21
2019-04-03 08:34:36 -04:00
Larry Smith Jr 183087e767 Resolves #21 2019-04-02 08:03:42 -04:00
5 changed files with 82 additions and 80 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ galaxy_info:
author: Larry Smith Jr.
description: Role to manage LVM Groups/Logical Volumes. Can be used to create, extend or resize LVM.
license: license (GPLv2, CC-BY, etc)
license: MIT
min_ansible_version: 1.2
platforms:
- name: EL
@@ -19,6 +19,6 @@ galaxy_info:
- jessie
- wheezy
categories:
galaxy_tags:
- system
dependencies: []
+4 -4
View File
@@ -1,13 +1,13 @@
---
- name: debian | installing pre-reqs
apt:
name: "{{ item }}"
state: "present"
become: true
with_items:
name:
- lvm2
- scsitools
- xfsprogs
state: "present"
become: true
- name: debian | checking for scsi devices
shell: "sg_scan"
+5 -3
View File
@@ -48,7 +48,8 @@
(item[1]['create'] is defined and
item[1]['create']) and
(item[1]['filesystem'] is defined and
item[1]['filesystem'] != 'None'))
item[1]['filesystem'] != 'None') and
item[1]['filesystem'] != "swap")
- name: manage_lvm | mounting new filesystem(s)
mount:
@@ -86,7 +87,7 @@
item[1]['filesystem'] != "btrfs"
- name: manage_lvm | resizing xfs
command: xfs_growfs -d /dev/{{ item[0]['vgname'] }}/{{ item[1]['lvname'] }}
command: xfs_growfs -d {{ item[1]['mntp'] }}
become: true
with_subelements:
- "{{ lvm_groups }}"
@@ -132,7 +133,8 @@
(item[1] is defined and
item[1] != 'None') and
(item[1]['create'] is defined and
not item[1]['create'])
not item[1]['create'] and
item[1]['filesystem'] != "swap")
- name: manage_lvm | Removing LVM logical volume(s)
lvol:
+1 -1
View File
@@ -1 +1 @@
skip_list: ['305','503']
skip_list: ['305','503','602']