Upload files to "playbooks"

This commit is contained in:
2026-10-10 14:30:30 +00:00
parent 9b621b7143
commit 6fc9e66ecd
4 changed files with 51 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
- 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