summaryrefslogtreecommitdiff
path: root/playbooks/roles/swarm_cluster
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2025-05-07 18:10:57 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2025-05-07 18:10:57 -0700
commitb8ffbfe27eae919750ef4d3facf02393d1004287 (patch)
tree78a22cffd1a387a1f482aac78a93fb951dcc81bb /playbooks/roles/swarm_cluster
parent59417f290463d3aabbf3ec2ab8e75703928db217 (diff)
downloadinfra-b8ffbfe27eae919750ef4d3facf02393d1004287.tar.gz
infra-b8ffbfe27eae919750ef4d3facf02393d1004287.zip
.git was corrupted on the machine i worked on these many commits. so here it is all at once :P
Diffstat (limited to 'playbooks/roles/swarm_cluster')
-rw-r--r--playbooks/roles/swarm_cluster/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/roles/swarm_cluster/tasks/main.yml b/playbooks/roles/swarm_cluster/tasks/main.yml
index d2507af..961d6f5 100644
--- a/playbooks/roles/swarm_cluster/tasks/main.yml
+++ b/playbooks/roles/swarm_cluster/tasks/main.yml
@@ -18,3 +18,7 @@
when: ansible_hostname != swarm_initializer_host
ansible.builtin.import_tasks: swarm_join/tasks/main.yml
+- name: Login to OCI
+ when: not homelab_build
+ ansible.builtin.command: "docker login {{ oci_domain }} --username {{ oci_username }} --password {{ oci_password }}"
+