community.general/lib/ansible/module_utils
Pat McClory 5065bf169d Fix bug where ansible_lvm facts silently fails if a PV isn't in an VG (#28684)
If a PV hasn't been added to a VG i.e.:

[pmcclory@box ~]$ sudo pvs --noheadings --nosuffix --units g
  /dev/xvdb       lvm2 ---- 10.00 10.00
  /dev/xvdv1 vg0  lvm2 a--u 24.99     0

Than ansible_facts.ansible_lvm will be unset after running setup module.

The issue is that the module splits on whitespace, which causes an
indexing error when the VG column is empty.

Fix is to add the separator field and safely split on that.
2017-08-28 12:25:53 -04:00
..
aws New Module to manage AWS direct connect link aggregation groups (#27250) 2017-08-22 18:24:54 -04:00
facts Fix bug where ansible_lvm facts silently fails if a PV isn't in an VG (#28684) 2017-08-28 12:25:53 -04:00
parsing also strip strings to avoid spaces breaking match 2017-08-23 16:01:02 -04:00
powershell rename legacy PS module_utils to remove PowerShell prefix (#27495) 2017-07-31 10:06:12 -07:00
six Remove automatic use of system six 2017-07-25 15:58:23 -07:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
_text.py Fix for to_text and to_bytes error handlers 2017-07-24 09:19:04 -07:00
a10.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
aci.py ACI: Update ACIModule to dynamically build URLs (#28618) 2017-08-25 02:37:34 +02:00
aireos.py Sanitizing all responses from aireos. (#27660) 2017-08-02 22:01:38 +01:00
ansible_tower.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
aos.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
api.py Remove comments about import order 2017-08-07 19:46:06 -07:00
aruba.py Persistent connection timer changes (#27272) 2017-08-01 11:45:45 -06:00
asa.py fixes asa_acl module to work with persistent connections (#28320) 2017-08-17 07:48:35 -04:00
avi.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
azure_rm_common.py Azure azure_rm_common update (#28227) 2017-08-15 15:55:13 -07:00
basic.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
bigswitch_utils.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ce.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
cloud.py AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
cloudstack.py cloudstack: utils: reduce cs lib dependency in modules (#26848) 2017-07-15 18:25:27 +02:00
cnos.py Update CNOS.py to fix error in image download on devices (#28589) 2017-08-26 13:38:00 -04:00
cnos_devicerules.py Changing new Device name from <Device Name>_cnos to <Device Name> (#27025) 2017-07-21 11:18:59 +01:00
cnos_errorcodes.py spelling fixes (non-trivial, changing messages) (#25094) 2017-06-01 10:45:19 +01:00
connection.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
crypto.py Extend test coverage for openssl modules (#27548) 2017-08-21 12:19:41 +01:00
database.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
dellos6.py Add dellos6 changes for Python3 (#24606) 2017-05-17 00:36:32 +05:30
dellos9.py Add dellos9 changes for Python3 (#24607) 2017-05-17 00:36:52 +05:30
dellos10.py Add dellos10 changes for python3 (#24608) 2017-05-17 00:36:15 +05:30
digital_ocean.py Refactor DigitalOcean modules 2017-08-18 00:23:54 -07:00
dimensiondata.py Refactor dimensiondata_network module (#21043) 2017-02-09 11:30:31 +00:00
docker_common.py docker_secret: fix broken import 2017-08-12 10:16:05 -07:00
ec2.py amazon: extract copies of boto_exception to module_utils.ec2 (#20403) 2017-08-23 11:40:32 -04:00
eos.py eos_user fix username param (#28114) 2017-08-16 12:08:59 +05:30
exoscale.py exoscale: similar env vars as in cloudstack 2017-08-22 14:43:48 +02:00
f5_utils.py Remove wildcard imports 2017-07-28 22:10:17 -07:00
fortios.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
gcdns.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gce.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gcp.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
infinibox.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ios.py Fix #26918: IOS TypeError (#26999) 2017-07-19 15:06:11 -07:00
iosxr.py Keep the diff even when running in check mode so we can tell if there is a diff or changed is true. (#27713) 2017-08-07 17:30:10 +02:00
ipa.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
ismount.py fix typo 2016-02-08 19:10:04 +01:00
json_utils.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
junos.py Add aggregate for junos modules and sub spec validation (#27726) 2017-08-04 14:55:58 +05:30
k8s_common.py Allow for generating kubernetes YAML files from modules (#27833) 2017-08-07 13:04:03 -04:00
known_hosts.py In the git module let ssh do its own host checking 2017-06-26 10:45:19 -07:00
lxd.py Use to_text helper function to handle bytes and unicode 2017-06-05 11:58:19 -07:00
manageiq.py Allow a miq token as an argument passed into the ManageIQ Python API Client (#28088) 2017-08-18 16:25:09 -04:00
mysql.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
netapp.py Refactor E-Series VolumeCopy to use module_utils (#20902) 2017-08-07 09:18:26 -06:00
netcfg.py fix unicode errors in iosxr 2017-07-19 14:51:35 -07:00
netcli.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
netconf.py Fix fetch configuration in junos_command (#26392) 2017-07-28 23:06:21 +05:30
netscaler.py New module: manage Citrix Netscaler SSL certificate keys (network/netscaler/netscaler_ssl_certkey)) (#27641) 2017-08-03 15:24:56 +01:00
network.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
network_common.py fixes bugs in network filter for parsing ip address (#28404) 2017-08-18 14:05:26 -04:00
nxos.py Network load_config: Capture configuration output and display as warnings (#27851) 2017-08-09 09:43:04 -04:00
oneview.py EthernetNetworkModule for HPE OneView (#28336) 2017-08-24 17:57:13 +02:00
openshift_common.py k8s/openshift module_utils split (#23115) 2017-03-30 19:02:17 +02:00
openstack.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ordnance.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ovirt.py [oVirt] Update/Add functionalities for import storage domain (#26568) 2017-08-23 08:44:02 -04:00
postgres.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
pure.py Initial commit for Pure Storage Ansible module (#25386) 2017-06-16 11:28:50 +01:00
pycompat24.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
rax.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
redhat.py Use atomic_move rather than writing in place in redhat_subscription (#27132) 2017-07-21 18:22:58 -04:00
service.py Misc typo for Ansible 2017-06-21 11:19:41 -04:00
splitter.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
sros.py Add sros changes for Python3 (#24604) 2017-05-17 00:33:36 +05:30
univention_umc.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
urls.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
vca.py Use response.content instead of response object (#25772) 2017-08-14 12:40:06 -04:00
vmware.py Update connection logic in vmware module_utils (#26323) 2017-08-17 13:30:56 +02:00
vyos.py vyos implementation for net_interface module (#26799) 2017-07-14 19:39:21 +05:30