semaphore-playbooks/debian12-basic.yml
2023-07-21 02:23:22 +02:00

14 lines
No EOL
297 B
YAML

---
- name: Update web servers
hosts: all
remote_user: root
tasks:
- name: Update all packages to their latest version
ansible.builtin.apt:
name: "*"
state: latest
update_cache: yes
- name: Install a list of packages
ansible.builtin.apt:
pkg:
- htop