Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69a1c0a9fb |
@@ -61,7 +61,7 @@ The OpenBao CLI is not needed on the controller. Ansible uses the HTTP API throu
|
||||
jq -Rn '[inputs | select(test("^[A-Za-z_][A-Za-z0-9_]*=")) | capture("^(?<key>[^=]+)=(?<value>.*)$")] | from_entries' .env
|
||||
```
|
||||
|
||||
Values are stored exactly as they appear in the file, so remove any surrounding quotes first.
|
||||
The role writes values back unquoted, as `KEY=value`, so Compose reads them the same way it reads the original file. Import values exactly as they appear. When you set a new value, avoid `$`, `#`, quotes and spaces: Compose would interpret them.
|
||||
2. Add `stacks/<stack>/env.j2` with one line per variable:
|
||||
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user