community.general/lib/ansible
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
..
cli Fix config value type for VAULT_IDENTITY_LIST (#28678) 2017-08-28 10:13:14 -04:00
compat Remove wildcard imports 2017-07-28 22:10:17 -07:00
config Fix config value type for VAULT_IDENTITY_LIST (#28678) 2017-08-28 10:13:14 -04:00
errors Ansible Config part2 (#27448) 2017-08-15 16:38:59 -04:00
executor executor stats and task_executor pep8 error (#23651) 2017-08-18 08:55:48 -04:00
galaxy Removes container-enabled warning (#27578) 2017-08-01 12:51:03 -04:00
inventory added keyed_group construction (#28578) 2017-08-25 22:00:07 -04:00
module_utils 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
modules openssl_certificate: consistent param namings (#28521) 2017-08-28 17:29:16 +02:00
parsing Fixes #22335: Adds filename extension to tempfile for Vault 2017-08-28 11:01:04 -04:00
playbook correctly map to connection_user from remote_user in play_context (#28676) 2017-08-25 15:53:25 -04:00
plugins added keyed_group construction (#28578) 2017-08-25 22:00:07 -04:00
template Ansible Config part2 (#27448) 2017-08-15 16:38:59 -04:00
utils exoscale: similar env vars as in cloudstack 2017-08-22 14:43:48 +02:00
vars optimize reserved names warning 2017-08-18 17:45:39 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Ansible Config part2 (#27448) 2017-08-15 16:38:59 -04:00
release.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00