Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible -- Hosts file contains vars / secrets #2

Open
AdamHebby opened this issue Feb 28, 2021 · 0 comments
Open

Ansible -- Hosts file contains vars / secrets #2

AdamHebby opened this issue Feb 28, 2021 · 0 comments

Comments

@AdamHebby
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant