Added example files for the group_vars of locals inventory group

This commit is contained in:
Alex Tavarez
2025-09-05 18:41:28 -04:00
parent 9d8ce6343c
commit 4706669b9a
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
passwords:
- username: admin
password: "{{ vaulted_passwords.admin.password }}"
local_ssh_private_key_files: [] # @NOTE list paths to SSH private keys
chosen_local_ssh_private_key_file: "{{ local_ssh_private_key_files | random }}"

View File

@@ -0,0 +1,7 @@
---
# @TODO encrypt as vault
# @NOTE see https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-encrypted-passwords-for-the-user-module
# Specifically, section for hashing using python passlib library
vaulted_passwords:
admin:
password: ~