Add .ansible-generated.env

This commit is contained in:
2026-03-28 11:10:50 +00:00
parent 1a68c32d54
commit a3420a9ce5

View File

@@ -8,7 +8,7 @@ project_name = "test"
run_directory = ""
file_paths = ["stacks/test/docker-compose.yaml"]
env_file_path = "stacks/test/.komodo-env"
additional_env_files = ["stacks/test/.env"]
additional_env_files = ["stacks/test/.env","stacks/test/.ansible-generated.env"]
pre_deploy.command = """
docker run --rm -i -v /var/home/core:/root -v /var/docker:/var/docker ghcr.io/getsops/sops:v3.12.1 decrypt /var/docker/.supporting-services/komodo/repos/mrmeeb-labs/fcos-test-3/stacks/test/.env
sed -i "s/HOSTNAME-CHANGEME/$(hostname)/g" stacks/test/.env # Sets the hostname dynamically according to the device it is run on