Login to docker repo is now needed.
This commit is contained in:
parent
375d5fa4c9
commit
51e2bf3544
@ -1,5 +1,11 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
become: True
|
become: True
|
||||||
|
vars_prompt:
|
||||||
|
- name: "docker_user"
|
||||||
|
prompt: "What is your p number?"
|
||||||
|
- name: "docker_pass"
|
||||||
|
prompt: "What is your password?"
|
||||||
|
private: yes
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
@ -27,3 +27,10 @@
|
|||||||
group: root
|
group: root
|
||||||
|
|
||||||
- import_tasks: docker.yml
|
- import_tasks: docker.yml
|
||||||
|
|
||||||
|
|
||||||
|
- name: Log into DockerHub
|
||||||
|
docker_login:
|
||||||
|
registry: registry.webhosting.rug.nl
|
||||||
|
username: "{{ docker_user }}"
|
||||||
|
password: "{{ docker_pass }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user