We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4c796 commit 3e7f6edCopy full SHA for 3e7f6ed
ansible/playbooks/deploy-docker.yml
@@ -22,17 +22,9 @@
22
dest: "{{ repo_path }}/.env"
23
content: |
24
{% for key, secret_id in env_variables.items() %}
25
- {{ key }}={{ lookup('bitwarden.secrets.lookup', secret_id, access_token=bw_access_token) }}
+ {{ key }}={{ lookup('bitwarden.secrets.lookup', secret_id, access_token=bw_access_token) }}
26
{% endfor %}
27
28
- - name: Verify .env file content
29
- ansible.builtin.shell: cat "{{ repo_path }}/.env"
30
- register: env_file_content
31
-
32
- - name: Display .env content
33
- ansible.builtin.debug:
34
- var: env_file_content.stdout_lines
35
36
- name: Ensure the repository is up-to-date
37
ansible.builtin.shell: git pull
38
args:
0 commit comments