Login to docker repo is now needed.

This commit is contained in:
Egon Rijpkema
2018-11-21 15:49:06 +01:00
parent 8aff8d97e1
commit 9d6db2c26b
2 changed files with 14 additions and 2 deletions

View File

@ -5,7 +5,7 @@
- name: Passwordless sudo for admins
lineinfile: dest=/etc/sudoers line="%admin ALL=(ALL:ALL) NOPASSWD:ALL"
- include: users.yml
- import_tasks: users.yml
- name: common | install packages
apt: pkg={{ item }} state=latest update_cache=yes
@ -29,4 +29,10 @@
- name: disable apparmor
apt: pkg=apparmor state=absent
- include: docker.yml
- import_tasks: docker.yml
- name: Log into DockerHub
docker_login:
registry: registry.webhosting.rug.nl
username: "{{ docker_user }}"
password: "{{ docker_pass }}"