Glimesh / Glimesh/ops

Ansible -- Hosts file contains vars / secrets

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

`ansible/hosts.example` contains example secrets and vars that would be stored in the gitignored `hosts` file.

Actual secrets should be stored using `ansible-vault` and a vaultkey, the vaultkey is gitignored and `secrets.yml` would contain the secrets. Example: `ansible/group_vars/web/secrets.yml`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ansible/hosts.example and compare its variables with the example at ansible/group_vars/web/secrets.yml. Remove example secrets and vars from the hosts example so sensitive values are represented through the stated ansible-vault and vaultkey setup, then verify no secrets remain in the example file.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
devops, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.