Skip to content

Instantly share code, notes, and snippets.

@abderrazak-bouadma
Created November 27, 2023 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abderrazak-bouadma/10c2a8ec810401453525ecda38922801 to your computer and use it in GitHub Desktop.
Save abderrazak-bouadma/10c2a8ec810401453525ecda38922801 to your computer and use it in GitHub Desktop.
ansible playbook to install jenkins swarm
---
- name: Download JAR file
hosts: your_vm_group
become: yes
tasks:
- name: Create directory for JAR file
file:
path: /path/to/destination/directory
state: directory
- name: Download JAR file
get_url:
url: "your_jar_file_url"
dest: /path/to/destination/directory/your_file.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment