mirror of
https://github.com/mrlesmithjr/ansible-manage-lvm.git
synced 2025-12-14 22:04:48 +03:00
Merge pull request #18 from mrlesmithjr/fix-travis-testing
Fix travis testing
This commit is contained in:
@@ -2,36 +2,23 @@
|
|||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Larry Smith Jr.
|
author: Larry Smith Jr.
|
||||||
description: Role to manage LVM Groups/Logical Volumes. Can be used to create, extend or resize LVM.
|
description: Role to manage LVM Groups/Logical Volumes. Can be used to create, extend or resize LVM.
|
||||||
#company: your company (optional)
|
|
||||||
# If the issue tracker for your role is not on github, uncomment the
|
|
||||||
# next line and provide a value
|
|
||||||
# issue_tracker_url: http://example.com/issue/tracker
|
|
||||||
# Some suggested licenses:
|
|
||||||
# - BSD (default)
|
|
||||||
# - MIT
|
|
||||||
# - GPLv2
|
|
||||||
# - GPLv3
|
|
||||||
# - Apache
|
|
||||||
# - CC-BY
|
|
||||||
license: license (GPLv2, CC-BY, etc)
|
license: license (GPLv2, CC-BY, etc)
|
||||||
min_ansible_version: 1.2
|
min_ansible_version: 1.2
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- precise
|
- precise
|
||||||
- trusty
|
- trusty
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- jessie
|
- jessie
|
||||||
- wheezy
|
- wheezy
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
- system
|
- system
|
||||||
dependencies: []
|
dependencies: []
|
||||||
# List your role dependencies here, one per line.
|
|
||||||
# Be sure to remove the '[]' above if you add dependencies
|
|
||||||
# to this list.
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
state: "present"
|
state: "present"
|
||||||
become: true
|
become: true
|
||||||
with_items:
|
with_items:
|
||||||
- 'lvm2'
|
- lvm2
|
||||||
- 'scsitools'
|
- scsitools
|
||||||
- 'xfsprogs'
|
- xfsprogs
|
||||||
|
|
||||||
- name: debian | checking for scsi devices
|
- name: debian | checking for scsi devices
|
||||||
shell: "sg_scan"
|
shell: "sg_scan"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
filesystem:
|
filesystem:
|
||||||
fstype: "{{ item[1]['filesystem'] }}"
|
fstype: "{{ item[1]['filesystem'] }}"
|
||||||
dev: "/dev/{{ item[0]['vgname'] }}/{{ item[1]['lvname'] }}"
|
dev: "/dev/{{ item[0]['vgname'] }}/{{ item[1]['lvname'] }}"
|
||||||
# resizefs: yes #coming in 2.0 which will replace the resizing filesystem task below
|
# resizefs: yes #coming in 2.0 which will replace the resizing filesystem task below
|
||||||
become: true
|
become: true
|
||||||
with_subelements:
|
with_subelements:
|
||||||
- "{{ lvm_groups }}"
|
- "{{ lvm_groups }}"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
skip_list: []
|
skip_list: ['305','503']
|
||||||
|
|||||||
Reference in New Issue
Block a user