diff --git a/ansible/playbooks/docker-login.yml b/ansible/playbooks/docker-login.yml index 6c2aea9..e2b5023 100644 --- a/ansible/playbooks/docker-login.yml +++ b/ansible/playbooks/docker-login.yml @@ -1,7 +1,7 @@ - hosts: "*" become: false vars: - docker_password: "{{ lookup('bitwarden.secrets.lookup', 3726555b-0ffc-442b-b66a-b257016f6ab9, access_token=bw_access_token }}" + 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: