In Ansible Inventory Projects create a file
group_vars/all/local_stuff.ymlfor Ansible configuration you don’t want to share with others. This file is in
.gitignoreso you won’t accidentally add it to the git repo.
Local configuration is accidentally shared with team members.
During development we sometimes want to configure something locally and not add configuration to version control and share with team members. For example we want to configure Ansible to use a local proxy server.
Create a file
group_vars/all/local_stuff.yml. This file is in
you won’t accidentally add it to the git repo.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.