Skip to content
Snippets Groups Projects
Commit 5fbf72df authored by Baptiste Jonglez's avatar Baptiste Jonglez
Browse files

Add demos

parent 6599e89c
No related branches found
No related tags found
No related merge requests found
- name: Install Prometheus
hosts: frontend
tasks:
- name: Make sure timesyncd is installed
ansible.builtin.apt:
name: systemd-timesyncd
state: present
- name: Make sure timesyncd is started on boot
ansible.builtin.systemd:
name: systemd-timesyncd.service
state: started
enabled: true
- name: Download Go
hosts: frontend
vars:
go_version: "1.19.3"
tasks:
- name: Download Go version {{go_version}}
ansible.builtin.get_url:
url: https://go.dev/dl/go{{go_version}}.linux-amd64.tar.gz
dest: /tmp/go{{go_version}}.linux-amd64.tar.gz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment