Skip to content

Commit

Permalink
update indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Jun 28, 2024
1 parent 4501aa2 commit a8d3403
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions automation/playbooks/initialize_worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@
shell: timedatectl set-timezone America/Toronto

- name: 'Get Swarm join token from manager'
tasks:
- name: Get Swarm join token from manager
shell: docker swarm join-token worker
register: join_token
delegate_to: "{{ groups['managers'] | random }}" # Run on the first manager node
shell: 'docker swarm join-token worker'
register: join_token
delegate_to: "{{ groups['managers'] | random }}" # Run on the first manager node

- name: 'Join the Swarm as a worker'
community.docker.docker_swarm:
Expand Down

0 comments on commit a8d3403

Please sign in to comment.