Created
November 27, 2023 14:26
-
-
Save abderrazak-bouadma/10c2a8ec810401453525ecda38922801 to your computer and use it in GitHub Desktop.
ansible playbook to install jenkins swarm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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