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/test/units
Kai 3251aecd95 Fix leading slashes being stripped from mount src (#24013)
* Tidy mount module for testing

Fix spelling mistakes in comments. I *think* the example for omitting parents
root has the wrong parent ID.

Make mountinfo file a parameter for testing.

* Don't strip leading slash from mounts

The current code does not follow the example, it produces src=tmp/aaa instead
of src=/tmp/aaa. This causes problems with bind mounts under /rootfs.

* Use dictionary to store mounts by ID

Instead of looping over each one to check if the ID matches. This does not
preserve the order of the output on < Python3.6, but that is not necessary.

* Make linux_mounts a dict

Always accessed by 'dst', so avoid looping by just making it a key.

* Add test case for get_linux_mounts
8 years ago
..
cli prompt for new pass on create/encrypt if none specified (#28185) 9 years ago
contrib Update vmware_inventory (#26308) 9 years ago
errors test/: PEP8 compliancy (#24803) 9 years ago
executor Ansible Config part2 (#27448) 9 years ago
inventory INI inventory plugin: add documentation about variable types (#25798) 9 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Support multiple vault passwords (#22756) 9 years ago
module_utils AWSRetry: allow retrying on additional ClientError exceptions (#28483) 8 years ago
modules Fix leading slashes being stripped from mount src (#24013) 8 years ago
parsing metadata 1.1 9 years ago
playbook Fix undefined variables, basestring usage, and some associated python3 issues 9 years ago
plugins synchronize: Use private_key and ssh_user with delegate_to (Fixes #16215) (#21686) 8 years ago
template template: fix KeyError: 'undefined variable: 0 (#27972) 9 years ago
utils test/: PEP8 compliancy (#24803) 9 years ago
vars make groups magic var dependant on inventory (#28677) 8 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
conftest.py Fix bugs in ansible-test units command. (#24044) 9 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 9 years ago