Upload files to "playbooks"
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user