Files
Porygon-Monitoring/playbooks/software.yml
T
2026-10-10 14:30:30 +00:00

15 lines
310 B
YAML

- name: install software
hosts: server
become: true
tasks:
- name: update apt cache for debian machines
apt:
update_cache: yes
when: ansible_facts['os_family'] == "Debian"
- name: installing
ansible.builtin.package:
name: python3-psutil
state: present