Update ansible/playbooks/docker-login.yml

This commit is contained in:
Matt Reeves 2024-12-31 17:18:58 -05:00
parent b6daa2017b
commit bb721b55f6

View file

@ -1,7 +1,9 @@
- hosts: "*" - hosts: "*"
become: false become: false
vars:
docker_password: "{{ lookup('community.general.bitwarden', '3726555b-0ffc-442b-b66a-b257016f6ab9', access_token=lookup('env', 'BW_ACCESS_TOKEN')) }}"
tasks: tasks:
- name: Log into DockerHub - name: Log into DockerHub
docker_login: docker_login:
username: mafyuh username: mafyuh
password: test password: "{{ docker_password }}"