From bb721b55f6baecb8b14ea7613dc4fda89197937e Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 31 Dec 2024 17:18:58 -0500 Subject: [PATCH] Update ansible/playbooks/docker-login.yml --- ansible/playbooks/docker-login.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/playbooks/docker-login.yml b/ansible/playbooks/docker-login.yml index b783249..e2b5023 100644 --- a/ansible/playbooks/docker-login.yml +++ b/ansible/playbooks/docker-login.yml @@ -1,7 +1,9 @@ - hosts: "*" become: false + vars: + docker_password: "{{ lookup('community.general.bitwarden', '3726555b-0ffc-442b-b66a-b257016f6ab9', access_token=lookup('env', 'BW_ACCESS_TOKEN')) }}" tasks: - name: Log into DockerHub docker_login: username: mafyuh - password: test + password: "{{ docker_password }}"