Update ansible/playbooks/docker-login.yml
This commit is contained in:
parent
b6daa2017b
commit
bb721b55f6
1 changed files with 3 additions and 1 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue