Skip to content

Instantly share code, notes, and snippets.

View jcolandr's full-sized avatar

Joe Colandro jcolandr

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jcolandr on github.
  • I am jcolandro (https://keybase.io/jcolandro) on keybase.
  • I have a public key ASD--koTh-Y9qdlOJFF4tfSjUW97uA3R382czTVDe1XO5Qo

To claim this, I am signing this object:

version: "3.3"
services:
app:
image: ${DTR_URL:-dtr.demo.dckr.org}/demo/docker-demo:${TAG:-latest}
deploy:
mode: replicated
replicas: 4
update_config:
parallelism: 2
---
- name: "Check if UCP is running."
shell: "docker service ls -q --filter name=ucp-agent"
register: _ucp_already_running
- name: "Set ucp_already_running fact."
set_fact:
ucp_already_running: "{{ _ucp_already_running.stdout_lines | length > 0 }}"
- name: "Install."

Keybase proof

I hereby claim:

  • I am jcolandr on github.
  • I am jcolandr (https://keybase.io/jcolandr) on keybase.
  • I have a public key whose fingerprint is ED8B FC24 838D E4E7 E5E4 B92E D06C 91F5 4B50 6233

To claim this, I am signing this object: