Move local config into the root to make it easier to see
The local config is intended to be configured per environment. Therefore it feels awkward to navigate deeply into the structures simply to adjust a local configuration. Furthermore this change allows me to make an assumption about the file right in the executed code, so if the file is not setup properly ansible will fail even before execution!
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
||||
*.html
|
||||
*.pdf
|
||||
group_vars/*/local.config.yml
|
||||
local.config.yml
|
||||
password.txt
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/vim,intellij
|
||||
|
||||
@@ -29,7 +29,7 @@ The setup is very simple, just follow these steps and you're good to go:
|
||||
----
|
||||
git clone https://gitea.nehrke.info/nemoinho/dev-machine.git ~/Development/nemoinho/dev-machine # <1>
|
||||
cd $_
|
||||
cp global_vars/localhost/local.config.yml.tpl global_vars/localhost/local.config.yml # <2>
|
||||
cp local.config.yml.tpl local.config.yml # <2>
|
||||
vi $_ # <3>
|
||||
vi password.txt # <4>
|
||||
ansible-galaxy install -r requirements.yml --upgrade # <5>
|
||||
|
||||
Reference in New Issue
Block a user