Added example files for the group_vars of locals inventory group
This commit is contained in:
6
playbooks/group_vars/locals/main.yml.example
Normal file
6
playbooks/group_vars/locals/main.yml.example
Normal 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 }}"
|
7
playbooks/group_vars/locals/vault.yml.example
Normal file
7
playbooks/group_vars/locals/vault.yml.example
Normal 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: ~
|
Reference in New Issue
Block a user