test first playbook
All checks were successful
Run Ansible / install_ansible (push) Successful in 2m32s
All checks were successful
Run Ansible / install_ansible (push) Successful in 2m32s
This commit is contained in:
11
playbooks/install_prometheus.yml.ansible
Normal file
11
playbooks/install_prometheus.yml.ansible
Normal file
@@ -0,0 +1,11 @@
|
||||
- hosts:
|
||||
- monitoring
|
||||
become: true
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
tasks:
|
||||
- name: Update apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
upgrade: full
|
||||
Reference in New Issue
Block a user