ansible-vars 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ansible_vars/cli.py +1 -1
- {ansible_vars-1.0.1.dist-info → ansible_vars-1.0.2.dist-info}/METADATA +1 -1
- {ansible_vars-1.0.1.dist-info → ansible_vars-1.0.2.dist-info}/RECORD +6 -6
- {ansible_vars-1.0.1.dist-info → ansible_vars-1.0.2.dist-info}/WHEEL +0 -0
- {ansible_vars-1.0.1.dist-info → ansible_vars-1.0.2.dist-info}/entry_points.txt +0 -0
- {ansible_vars-1.0.1.dist-info → ansible_vars-1.0.2.dist-info}/licenses/LICENSE +0 -0
ansible_vars/cli.py
CHANGED
@@ -201,7 +201,7 @@ args: ArgumentParser = ArgumentParser(
|
|
201
201
|
def _prefixed_path_completer(prefix: str, **_) -> list[str]:
|
202
202
|
has_prefix: bool = len(prefix) > 1 and prefix[:2] in ( 'h:', 'g:', 'v:' )
|
203
203
|
resolved_prefix: str | None = { 'h:': 'host_vars', 'g:': 'group_vars', 'v:': 'vars' }[prefix[:2]] if has_prefix else None
|
204
|
-
if resolved_prefix and os.path.isdir(os.path.abspath(resolved_prefix
|
204
|
+
if resolved_prefix and os.path.isdir(os.path.abspath(resolved_prefix)):
|
205
205
|
# Replace prefix with actual path
|
206
206
|
path_prefix: str = prefix[:3] if (len(prefix) > 2 and prefix[2] == os.path.sep) else prefix[:2]
|
207
207
|
new_prefix: str = os.path.join(resolved_prefix, prefix[len(path_prefix):])
|
@@ -1,12 +1,12 @@
|
|
1
1
|
ansible_vars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
ansible_vars/cli.py,sha256=
|
2
|
+
ansible_vars/cli.py,sha256=p61K5I4GUCRJ3YJO2ETCHZwug6gVXDn6gJBN7XZ8hOQ,55395
|
3
3
|
ansible_vars/constants.py,sha256=Nd3sIuSoOvyfUfHfnsnJBDGMW7eNzbMm1NAvEQio9hE,1624
|
4
4
|
ansible_vars/errors.py,sha256=VnViEBMR3rIeioMj460DgdBA5S5FYiDObaDDhG2FMBs,857
|
5
5
|
ansible_vars/util.py,sha256=BzS7n3UzaKqVZ3W78HVkJtdVCYofprqQDtU8wYH1d0Q,21325
|
6
6
|
ansible_vars/vault.py,sha256=_dp1K5_UAFGgcg6iO4on4-L_BaJO2cHP6My3EU6enA4,45593
|
7
7
|
ansible_vars/vault_crypt.py,sha256=JcFc6dTZ6EqhKXv_C5ofggTpBK8hWG3ZwrBrDNYcEIg,9501
|
8
|
-
ansible_vars-1.0.
|
9
|
-
ansible_vars-1.0.
|
10
|
-
ansible_vars-1.0.
|
11
|
-
ansible_vars-1.0.
|
12
|
-
ansible_vars-1.0.
|
8
|
+
ansible_vars-1.0.2.dist-info/METADATA,sha256=A5ahFj14_6Let_rry0eAyVD46DNwCXPOR-RdRUggQm4,15717
|
9
|
+
ansible_vars-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
ansible_vars-1.0.2.dist-info/entry_points.txt,sha256=RrhkEH0MbfRzflguVrfYfthsFC5V2fkFnizUG3uHMtQ,55
|
11
|
+
ansible_vars-1.0.2.dist-info/licenses/LICENSE,sha256=ocyJHLG5wD12qB4uam2pqWTHIJmzloiyNyTex6Q2DKo,1062
|
12
|
+
ansible_vars-1.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|