ansible-vars 1.0.9__tar.gz → 1.0.10__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansible-vars
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary: Manage vaults and variable files for Ansible
5
5
  Project-URL: Homepage, https://github.com/xorwow/ansible-vars
6
6
  Project-URL: Issues, https://github.com/xorwow/ansible-vars/issues
@@ -178,7 +178,7 @@ Shows the amounts of encrypted and decrypted variables in a vault file. Supports
178
178
 
179
179
  En-/Decrypts or checks the encryption status of a file or string value. Note that only full file encryption is considered in file mode, a hybrid vault with individually encrypted variables will be counted as plain.
180
180
 
181
- ### rekey
181
+ #### rekey
182
182
 
183
183
  Re-encrypts a vault file with a different encryption key and/or salt. The key specified in the global `--encryption-key|-K <identifier>` flag is used for encryption, along with an optional fixed salt set via the global `--fixed-salt|-S <salt>` flag.
184
184
 
@@ -156,7 +156,7 @@ Shows the amounts of encrypted and decrypted variables in a vault file. Supports
156
156
 
157
157
  En-/Decrypts or checks the encryption status of a file or string value. Note that only full file encryption is considered in file mode, a hybrid vault with individually encrypted variables will be counted as plain.
158
158
 
159
- ### rekey
159
+ #### rekey
160
160
 
161
161
  Re-encrypts a vault file with a different encryption key and/or salt. The key specified in the global `--encryption-key|-K <identifier>` flag is used for encryption, along with an optional fixed salt set via the global `--fixed-salt|-S <salt>` flag.
162
162
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ansible-vars"
7
- version = "1.0.9"
7
+ version = "1.0.10"
8
8
  authors = [
9
9
  { name="xorwow", email="pip@xorwow.de" },
10
10
  ]
@@ -776,12 +776,12 @@ if config.command == 'info':
776
776
  if encrypted_leaves:
777
777
  print('\n'.join([ f"- { format_key_path(key) }" for key in encrypted_leaves ]))
778
778
  else:
779
- print('No encrypted vars')
779
+ print('None', Color.MEH)
780
780
  print('\nPlain leaf values:', Color.GOOD)
781
- if encrypted_leaves:
781
+ if plain_leaves:
782
782
  print('\n'.join([ f"- { format_key_path(key) }" for key in plain_leaves ]))
783
783
  else:
784
- print('No plain vars')
784
+ print('None', Color.MEH)
785
785
 
786
786
  # Encrypt & Decrypt & Is-Encrypted commands
787
787
 
File without changes
File without changes