You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/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.
8 years ago
..
cli Fix config value type for VAULT_IDENTITY_LIST (#28678) 8 years ago
compat Remove wildcard imports 9 years ago
config Fix config value type for VAULT_IDENTITY_LIST (#28678) 8 years ago
errors Ansible Config part2 (#27448) 9 years ago
executor executor stats and task_executor pep8 error (#23651) 8 years ago
galaxy Removes container-enabled warning (#27578) 9 years ago
inventory added keyed_group construction (#28578) 8 years ago
module_utils Fix bug where ansible_lvm facts silently fails if a PV isn't in an VG (#28684) 8 years ago
modules openssl_certificate: consistent param namings (#28521) 8 years ago
parsing Fixes #22335: Adds filename extension to tempfile for Vault 8 years ago
playbook correctly map to connection_user from remote_user in play_context (#28676) 8 years ago
plugins added keyed_group construction (#28578) 8 years ago
template Ansible Config part2 (#27448) 9 years ago
utils exoscale: similar env vars as in cloudstack 8 years ago
vars optimize reserved names warning 8 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 10 years ago
constants.py Ansible Config part2 (#27448) 9 years ago
release.py Collated PEP8 fixes (#25293) 9 years ago