Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#6 condor boxen docker login to private repo for custom app images
Browse files Browse the repository at this point in the history
  • Loading branch information
donsizemore committed Mar 16, 2016
1 parent 08d06b3 commit 0dc3cc4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ansible/roles/condor/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
---

- debug: msg="Docker prereqs to use private repo for custom app images."

- name: ensure docker-python installed for ansible module
yum: name=docker-python state=latest
tags: docker

- name: login to private Docker remote registry
docker_login:
registry: "{{ docker.registry.base }}"
username: "{{ docker.registry.user }}"
password: "{{ docker.registry.pass }}"
tags: docker

- debug: msg="and now on to Condor installation."

- name: Condor likes Java
yum: name=java-1.8.0-openjdk-headless state=latest
when: ansible_distribution == "CentOS" and
Expand Down

0 comments on commit 0dc3cc4

Please sign in to comment.