Move variable-files to group_vars directory
The group_vars dir is the standard destination for ansible to look for variable-files. So I do not have to declare them in the main.yml anymore. This change will make it easier for me to reason about upcoming changes, like using a vault for sensitive information.
This commit is contained in:
4
group_vars/localhost/common.config.yml
Normal file
4
group_vars/localhost/common.config.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
fly_url_linux: https://ci.nehrke.info/api/v1/cli?arch=amd64&platform=linux
|
||||
fly_url_darwin: https://ci.nehrke.info/api/v1/cli?arch=amd64&platform=darwin
|
||||
fly_url: "{{ fly_url_darwin if ansible_os_family == 'Darwin' else fly_url_linux }}"
|
||||
|
||||
Reference in New Issue
Block a user